@sats-connect/core 0.17.0 → 0.17.1-409bc8b
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.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1434,7 +1434,7 @@ const walletGetCurrentPermissionsRequestSchema = createRequestSchema({
|
|
|
1434
1434
|
|
|
1435
1435
|
//#endregion
|
|
1436
1436
|
//#region src/request/rpc/objects/namespaces/wallet/methods/getCurrentPermissions/response.ts
|
|
1437
|
-
const walletGetCurrentPermissionsResultSchema = permission;
|
|
1437
|
+
const walletGetCurrentPermissionsResultSchema = valibot.array(permission);
|
|
1438
1438
|
const walletGetCurrentPermissionsSuccessResponseSchema = createSuccessResponseSchema({
|
|
1439
1439
|
resultSchema: walletGetCurrentPermissionsResultSchema,
|
|
1440
1440
|
method: walletMethods.wallet_getCurrentPermissions
|
package/dist/index.d.cts
CHANGED
|
@@ -7216,7 +7216,7 @@ declare const walletGetCurrentPermissionsRequestSchema: v.ObjectSchema<{
|
|
|
7216
7216
|
type WalletGetCurrentPermissionsRequest = v.InferOutput<typeof walletGetCurrentPermissionsRequestSchema>;
|
|
7217
7217
|
//#endregion
|
|
7218
7218
|
//#region src/request/rpc/objects/namespaces/wallet/methods/getCurrentPermissions/response.d.ts
|
|
7219
|
-
declare const walletGetCurrentPermissionsResultSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7219
|
+
declare const walletGetCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7220
7220
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7221
7221
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7222
7222
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -7230,11 +7230,11 @@ declare const walletGetCurrentPermissionsResultSchema: v.VariantSchema<"type", [
|
|
|
7230
7230
|
readonly actions: v.ObjectSchema<{
|
|
7231
7231
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7232
7232
|
}, undefined>;
|
|
7233
|
-
}, undefined>], undefined>;
|
|
7233
|
+
}, undefined>], undefined>, undefined>;
|
|
7234
7234
|
type WalletGetCurrentPermissionsResult = v.InferOutput<typeof walletGetCurrentPermissionsResultSchema>;
|
|
7235
7235
|
declare const walletGetCurrentPermissionsSuccessResponseSchema: v.ObjectSchema<{
|
|
7236
7236
|
readonly id: v.StringSchema<undefined>;
|
|
7237
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7237
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7238
7238
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7239
7239
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7240
7240
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -7248,7 +7248,7 @@ declare const walletGetCurrentPermissionsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
7248
7248
|
readonly actions: v.ObjectSchema<{
|
|
7249
7249
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7250
7250
|
}, undefined>;
|
|
7251
|
-
}, undefined>], undefined>;
|
|
7251
|
+
}, undefined>], undefined>, undefined>;
|
|
7252
7252
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
7253
7253
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
7254
7254
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -10218,7 +10218,7 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
10218
10218
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
10219
10219
|
}, undefined>, v.ObjectSchema<{
|
|
10220
10220
|
readonly id: v.StringSchema<undefined>;
|
|
10221
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
10221
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
10222
10222
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
10223
10223
|
readonly resourceId: v.StringSchema<undefined>;
|
|
10224
10224
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -10232,7 +10232,7 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
10232
10232
|
readonly actions: v.ObjectSchema<{
|
|
10233
10233
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10234
10234
|
}, undefined>;
|
|
10235
|
-
}, undefined>], undefined>;
|
|
10235
|
+
}, undefined>], undefined>, undefined>;
|
|
10236
10236
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
10237
10237
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
10238
10238
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -13094,7 +13094,7 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
13094
13094
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
13095
13095
|
}, undefined>, v.ObjectSchema<{
|
|
13096
13096
|
readonly id: v.StringSchema<undefined>;
|
|
13097
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
13097
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
13098
13098
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
13099
13099
|
readonly resourceId: v.StringSchema<undefined>;
|
|
13100
13100
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -13108,7 +13108,7 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
13108
13108
|
readonly actions: v.ObjectSchema<{
|
|
13109
13109
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
13110
13110
|
}, undefined>;
|
|
13111
|
-
}, undefined>], undefined>;
|
|
13111
|
+
}, undefined>], undefined>, undefined>;
|
|
13112
13112
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
13113
13113
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
13114
13114
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
package/dist/index.d.mts
CHANGED
|
@@ -7216,7 +7216,7 @@ declare const walletGetCurrentPermissionsRequestSchema: v.ObjectSchema<{
|
|
|
7216
7216
|
type WalletGetCurrentPermissionsRequest = v.InferOutput<typeof walletGetCurrentPermissionsRequestSchema>;
|
|
7217
7217
|
//#endregion
|
|
7218
7218
|
//#region src/request/rpc/objects/namespaces/wallet/methods/getCurrentPermissions/response.d.ts
|
|
7219
|
-
declare const walletGetCurrentPermissionsResultSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7219
|
+
declare const walletGetCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7220
7220
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7221
7221
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7222
7222
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -7230,11 +7230,11 @@ declare const walletGetCurrentPermissionsResultSchema: v.VariantSchema<"type", [
|
|
|
7230
7230
|
readonly actions: v.ObjectSchema<{
|
|
7231
7231
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7232
7232
|
}, undefined>;
|
|
7233
|
-
}, undefined>], undefined>;
|
|
7233
|
+
}, undefined>], undefined>, undefined>;
|
|
7234
7234
|
type WalletGetCurrentPermissionsResult = v.InferOutput<typeof walletGetCurrentPermissionsResultSchema>;
|
|
7235
7235
|
declare const walletGetCurrentPermissionsSuccessResponseSchema: v.ObjectSchema<{
|
|
7236
7236
|
readonly id: v.StringSchema<undefined>;
|
|
7237
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7237
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
7238
7238
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
7239
7239
|
readonly resourceId: v.StringSchema<undefined>;
|
|
7240
7240
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -7248,7 +7248,7 @@ declare const walletGetCurrentPermissionsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
7248
7248
|
readonly actions: v.ObjectSchema<{
|
|
7249
7249
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7250
7250
|
}, undefined>;
|
|
7251
|
-
}, undefined>], undefined>;
|
|
7251
|
+
}, undefined>], undefined>, undefined>;
|
|
7252
7252
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
7253
7253
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
7254
7254
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -10218,7 +10218,7 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
10218
10218
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
10219
10219
|
}, undefined>, v.ObjectSchema<{
|
|
10220
10220
|
readonly id: v.StringSchema<undefined>;
|
|
10221
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
10221
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
10222
10222
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
10223
10223
|
readonly resourceId: v.StringSchema<undefined>;
|
|
10224
10224
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -10232,7 +10232,7 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
10232
10232
|
readonly actions: v.ObjectSchema<{
|
|
10233
10233
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10234
10234
|
}, undefined>;
|
|
10235
|
-
}, undefined>], undefined>;
|
|
10235
|
+
}, undefined>], undefined>, undefined>;
|
|
10236
10236
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
10237
10237
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
10238
10238
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -13094,7 +13094,7 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
13094
13094
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
13095
13095
|
}, undefined>, v.ObjectSchema<{
|
|
13096
13096
|
readonly id: v.StringSchema<undefined>;
|
|
13097
|
-
readonly result: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
13097
|
+
readonly result: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
13098
13098
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
13099
13099
|
readonly resourceId: v.StringSchema<undefined>;
|
|
13100
13100
|
readonly clientId: v.StringSchema<undefined>;
|
|
@@ -13108,7 +13108,7 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
13108
13108
|
readonly actions: v.ObjectSchema<{
|
|
13109
13109
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
13110
13110
|
}, undefined>;
|
|
13111
|
-
}, undefined>], undefined>;
|
|
13111
|
+
}, undefined>], undefined>, undefined>;
|
|
13112
13112
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
13113
13113
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
13114
13114
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
package/dist/index.mjs
CHANGED
|
@@ -1405,7 +1405,7 @@ const walletGetCurrentPermissionsRequestSchema = createRequestSchema({
|
|
|
1405
1405
|
|
|
1406
1406
|
//#endregion
|
|
1407
1407
|
//#region src/request/rpc/objects/namespaces/wallet/methods/getCurrentPermissions/response.ts
|
|
1408
|
-
const walletGetCurrentPermissionsResultSchema = permission;
|
|
1408
|
+
const walletGetCurrentPermissionsResultSchema = v.array(permission);
|
|
1409
1409
|
const walletGetCurrentPermissionsSuccessResponseSchema = createSuccessResponseSchema({
|
|
1410
1410
|
resultSchema: walletGetCurrentPermissionsResultSchema,
|
|
1411
1411
|
method: walletMethods.wallet_getCurrentPermissions
|