@notabene/javascript-sdk 2.20.0-next.4 → 2.20.0-next.5

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.
@@ -3370,6 +3370,39 @@ export declare interface TransactionOptions {
3370
3370
  * @defaultValue false
3371
3371
  */
3372
3372
  experimentalPreferUniversalLinks?: boolean;
3373
+ /**
3374
+ * Restrict the mobile wallets offered over WalletConnect to this list.
3375
+ *
3376
+ * Useful when you only support a fixed set of wallets, for example because your app
3377
+ * allowlists their deep links, or because your compliance policy approves specific
3378
+ * wallets.
3379
+ *
3380
+ * Entries are WalletConnect Explorer wallet ids, 64-character hex strings. Wallet names
3381
+ * are not accepted, because the Explorer registry keys on these ids. Look them up in
3382
+ * Reown's Wallets List (https://docs.reown.com/cloud/wallets/wallet-list) or WalletGuide
3383
+ * (https://walletguide.walletconnect.network/).
3384
+ *
3385
+ * A wallet can have more than one id. Coinbase, Binance, OKX and Talisman each have two
3386
+ * Explorer listings, so list every id for a wallet or one of its listings will still be
3387
+ * offered.
3388
+ *
3389
+ * This restricts WalletConnect's own wallet list only. It does not restrict browser
3390
+ * extension wallets, does not affect hardware wallets, and does not control whether
3391
+ * WalletConnect is offered at all.
3392
+ *
3393
+ * Absent or empty means no restriction.
3394
+ *
3395
+ * @example
3396
+ * ```ts
3397
+ * // MetaMask and both Coinbase listings
3398
+ * allowedWalletConnectIds: [
3399
+ * 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
3400
+ * 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
3401
+ * 'd0ca99ff52b99abc48743dad0f7fc891e041be73574f7fac4afe5d4bb83845c8'
3402
+ * ]
3403
+ * ```
3404
+ */
3405
+ allowedWalletConnectIds?: string[];
3373
3406
  };
3374
3407
  }
3375
3408
 
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.20.0-next.4",
13
+ "version": "2.20.0-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -3370,6 +3370,39 @@ export declare interface TransactionOptions {
3370
3370
  * @defaultValue false
3371
3371
  */
3372
3372
  experimentalPreferUniversalLinks?: boolean;
3373
+ /**
3374
+ * Restrict the mobile wallets offered over WalletConnect to this list.
3375
+ *
3376
+ * Useful when you only support a fixed set of wallets, for example because your app
3377
+ * allowlists their deep links, or because your compliance policy approves specific
3378
+ * wallets.
3379
+ *
3380
+ * Entries are WalletConnect Explorer wallet ids, 64-character hex strings. Wallet names
3381
+ * are not accepted, because the Explorer registry keys on these ids. Look them up in
3382
+ * Reown's Wallets List (https://docs.reown.com/cloud/wallets/wallet-list) or WalletGuide
3383
+ * (https://walletguide.walletconnect.network/).
3384
+ *
3385
+ * A wallet can have more than one id. Coinbase, Binance, OKX and Talisman each have two
3386
+ * Explorer listings, so list every id for a wallet or one of its listings will still be
3387
+ * offered.
3388
+ *
3389
+ * This restricts WalletConnect's own wallet list only. It does not restrict browser
3390
+ * extension wallets, does not affect hardware wallets, and does not control whether
3391
+ * WalletConnect is offered at all.
3392
+ *
3393
+ * Absent or empty means no restriction.
3394
+ *
3395
+ * @example
3396
+ * ```ts
3397
+ * // MetaMask and both Coinbase listings
3398
+ * allowedWalletConnectIds: [
3399
+ * 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
3400
+ * 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
3401
+ * 'd0ca99ff52b99abc48743dad0f7fc891e041be73574f7fac4afe5d4bb83845c8'
3402
+ * ]
3403
+ * ```
3404
+ */
3405
+ allowedWalletConnectIds?: string[];
3373
3406
  };
3374
3407
  }
3375
3408
 
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.20.0-next.4",
13
+ "version": "2.20.0-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -3370,6 +3370,39 @@ export declare interface TransactionOptions {
3370
3370
  * @defaultValue false
3371
3371
  */
3372
3372
  experimentalPreferUniversalLinks?: boolean;
3373
+ /**
3374
+ * Restrict the mobile wallets offered over WalletConnect to this list.
3375
+ *
3376
+ * Useful when you only support a fixed set of wallets, for example because your app
3377
+ * allowlists their deep links, or because your compliance policy approves specific
3378
+ * wallets.
3379
+ *
3380
+ * Entries are WalletConnect Explorer wallet ids, 64-character hex strings. Wallet names
3381
+ * are not accepted, because the Explorer registry keys on these ids. Look them up in
3382
+ * Reown's Wallets List (https://docs.reown.com/cloud/wallets/wallet-list) or WalletGuide
3383
+ * (https://walletguide.walletconnect.network/).
3384
+ *
3385
+ * A wallet can have more than one id. Coinbase, Binance, OKX and Talisman each have two
3386
+ * Explorer listings, so list every id for a wallet or one of its listings will still be
3387
+ * offered.
3388
+ *
3389
+ * This restricts WalletConnect's own wallet list only. It does not restrict browser
3390
+ * extension wallets, does not affect hardware wallets, and does not control whether
3391
+ * WalletConnect is offered at all.
3392
+ *
3393
+ * Absent or empty means no restriction.
3394
+ *
3395
+ * @example
3396
+ * ```ts
3397
+ * // MetaMask and both Coinbase listings
3398
+ * allowedWalletConnectIds: [
3399
+ * 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
3400
+ * 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
3401
+ * 'd0ca99ff52b99abc48743dad0f7fc891e041be73574f7fac4afe5d4bb83845c8'
3402
+ * ]
3403
+ * ```
3404
+ */
3405
+ allowedWalletConnectIds?: string[];
3373
3406
  };
3374
3407
  }
3375
3408
 
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.20.0-next.4",
13
+ "version": "2.20.0-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
package/src/types.ts CHANGED
@@ -1067,6 +1067,39 @@ export interface TransactionOptions {
1067
1067
  * @defaultValue false
1068
1068
  */
1069
1069
  experimentalPreferUniversalLinks?: boolean;
1070
+ /**
1071
+ * Restrict the mobile wallets offered over WalletConnect to this list.
1072
+ *
1073
+ * Useful when you only support a fixed set of wallets, for example because your app
1074
+ * allowlists their deep links, or because your compliance policy approves specific
1075
+ * wallets.
1076
+ *
1077
+ * Entries are WalletConnect Explorer wallet ids, 64-character hex strings. Wallet names
1078
+ * are not accepted, because the Explorer registry keys on these ids. Look them up in
1079
+ * Reown's Wallets List (https://docs.reown.com/cloud/wallets/wallet-list) or WalletGuide
1080
+ * (https://walletguide.walletconnect.network/).
1081
+ *
1082
+ * A wallet can have more than one id. Coinbase, Binance, OKX and Talisman each have two
1083
+ * Explorer listings, so list every id for a wallet or one of its listings will still be
1084
+ * offered.
1085
+ *
1086
+ * This restricts WalletConnect's own wallet list only. It does not restrict browser
1087
+ * extension wallets, does not affect hardware wallets, and does not control whether
1088
+ * WalletConnect is offered at all.
1089
+ *
1090
+ * Absent or empty means no restriction.
1091
+ *
1092
+ * @example
1093
+ * ```ts
1094
+ * // MetaMask and both Coinbase listings
1095
+ * allowedWalletConnectIds: [
1096
+ * 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
1097
+ * 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
1098
+ * 'd0ca99ff52b99abc48743dad0f7fc891e041be73574f7fac4afe5d4bb83845c8'
1099
+ * ]
1100
+ * ```
1101
+ */
1102
+ allowedWalletConnectIds?: string[];
1070
1103
  };
1071
1104
  }
1072
1105
  /**