@sats-connect/core 0.17.5 → 0.18.0-0b90d6e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7818,7 +7818,7 @@ declare const walletRenouncePermissionsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
7818
7818
|
type WalletRenouncePermissionsSuccessResponse = v.InferOutput<typeof walletRenouncePermissionsSuccessResponseSchema>;
|
|
7819
7819
|
//#endregion
|
|
7820
7820
|
//#region src/request/rpc/objects/namespaces/wallet/methods/requestPermissions/request.d.ts
|
|
7821
|
-
declare const walletRequestPermissionsParamsSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7821
|
+
declare const walletRequestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7822
7822
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7823
7823
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7824
7824
|
readonly actions: v.ObjectSchema<{
|
|
@@ -7830,12 +7830,12 @@ declare const walletRequestPermissionsParamsSchema: v.ArraySchema<v.VariantSchem
|
|
|
7830
7830
|
readonly actions: v.ObjectSchema<{
|
|
7831
7831
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7832
7832
|
}, undefined>;
|
|
7833
|
-
}, undefined>], undefined>, undefined>;
|
|
7833
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
7834
7834
|
type WalletRequestPermissionsParams = v.InferOutput<typeof walletRequestPermissionsParamsSchema>;
|
|
7835
7835
|
declare const walletRequestPermissionsRequestSchema: v.ObjectSchema<{
|
|
7836
7836
|
readonly id: v.StringSchema<undefined>;
|
|
7837
7837
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
7838
|
-
readonly params: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7838
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7839
7839
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7840
7840
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7841
7841
|
readonly actions: v.ObjectSchema<{
|
|
@@ -7847,7 +7847,7 @@ declare const walletRequestPermissionsRequestSchema: v.ObjectSchema<{
|
|
|
7847
7847
|
readonly actions: v.ObjectSchema<{
|
|
7848
7848
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7849
7849
|
}, undefined>;
|
|
7850
|
-
}, undefined>], undefined>, undefined>;
|
|
7850
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
7851
7851
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
7852
7852
|
}, undefined>;
|
|
7853
7853
|
type WalletRequestPermissionsRequest = v.InferOutput<typeof walletRequestPermissionsRequestSchema>;
|
|
@@ -9718,7 +9718,7 @@ declare const walletRequestSchema: v.VariantSchema<"method", [v.ObjectSchema<{
|
|
|
9718
9718
|
}, undefined>, v.ObjectSchema<{
|
|
9719
9719
|
readonly id: v.StringSchema<undefined>;
|
|
9720
9720
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
9721
|
-
readonly params: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
9721
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
9722
9722
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
9723
9723
|
readonly resourceId: v.StringSchema<undefined>;
|
|
9724
9724
|
readonly actions: v.ObjectSchema<{
|
|
@@ -9730,7 +9730,7 @@ declare const walletRequestSchema: v.VariantSchema<"method", [v.ObjectSchema<{
|
|
|
9730
9730
|
readonly actions: v.ObjectSchema<{
|
|
9731
9731
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9732
9732
|
}, undefined>;
|
|
9733
|
-
}, undefined>], undefined>, undefined>;
|
|
9733
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
9734
9734
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
9735
9735
|
}, undefined>, v.ObjectSchema<{
|
|
9736
9736
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -11619,7 +11619,7 @@ declare const rpcRequestSchema: v.VariantSchema<"method", [v.VariantSchema<"meth
|
|
|
11619
11619
|
}, undefined>, v.ObjectSchema<{
|
|
11620
11620
|
readonly id: v.StringSchema<undefined>;
|
|
11621
11621
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
11622
|
-
readonly params: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
11622
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
11623
11623
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
11624
11624
|
readonly resourceId: v.StringSchema<undefined>;
|
|
11625
11625
|
readonly actions: v.ObjectSchema<{
|
|
@@ -11631,7 +11631,7 @@ declare const rpcRequestSchema: v.VariantSchema<"method", [v.VariantSchema<"meth
|
|
|
11631
11631
|
readonly actions: v.ObjectSchema<{
|
|
11632
11632
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11633
11633
|
}, undefined>;
|
|
11634
|
-
}, undefined>], undefined>, undefined>;
|
|
11634
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
11635
11635
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
11636
11636
|
}, undefined>, v.ObjectSchema<{
|
|
11637
11637
|
readonly id: v.StringSchema<undefined>;
|
package/dist/index.mjs
CHANGED
|
@@ -1513,7 +1513,7 @@ const walletRenouncePermissionsSuccessResponseSchema = createSuccessResponseSche
|
|
|
1513
1513
|
|
|
1514
1514
|
//#endregion
|
|
1515
1515
|
//#region src/request/rpc/objects/namespaces/wallet/methods/requestPermissions/request.ts
|
|
1516
|
-
const walletRequestPermissionsParamsSchema = v.array(permissionRequestParamsSchema);
|
|
1516
|
+
const walletRequestPermissionsParamsSchema = v.nullish(v.array(permissionRequestParamsSchema));
|
|
1517
1517
|
const walletRequestPermissionsRequestSchema = createRequestSchema({
|
|
1518
1518
|
paramsSchema: walletRequestPermissionsParamsSchema,
|
|
1519
1519
|
method: walletMethods.wallet_requestPermissions
|