Skip to content

Commit f6c03cc

Browse files
committed
feat: release prebuilds
1 parent 3c1ff49 commit f6c03cc

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

cpp/WalletRpcCodeGen.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
WALLET_ASYNC_METHOD(getbalance)
32
WALLET_METHOD(getaddress)
43
WALLET_ASYNC_METHOD(get_wallet_info)

src/utils/typed-json.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@ export type UnwrapTypedJSON<JSON> = JSON extends TypedJSON<any> ? JSON[typeof js
1111
export const TypedJSON: {
1212
parse<Text>(text: Text): UnwrapTypedJSON<Text>;
1313
stringify<Value extends JSONConstrain<Value>>(value: NoInfer<Value>): TypedJSON<Value>;
14-
} = JSON as never;
14+
} = {
15+
parse(text) {
16+
return JSON.parse(text as never);
17+
},
18+
stringify(value) {
19+
return JSON.stringify(value) as never;
20+
},
21+
};

0 commit comments

Comments
 (0)