@imtbl/wallet 2.12.7-alpha.1 → 2.12.7-alpha.10

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.
Files changed (39) hide show
  1. package/README.md +1 -31
  2. package/dist/browser/index.js +30 -204
  3. package/dist/node/index.cjs +55 -244
  4. package/dist/node/index.js +29 -203
  5. package/dist/types/confirmation/confirmation.d.ts +1 -1
  6. package/dist/types/connectWallet.d.ts +3 -2
  7. package/dist/types/constants.d.ts +0 -9
  8. package/dist/types/index.d.ts +2 -4
  9. package/dist/types/{network/presets.d.ts → presets.d.ts} +1 -55
  10. package/dist/types/types.d.ts +0 -12
  11. package/dist/types/zkEvm/types.d.ts +10 -3
  12. package/package.json +4 -9
  13. package/src/confirmation/confirmation.ts +4 -14
  14. package/src/connectWallet.test.ts +1 -34
  15. package/src/connectWallet.ts +40 -81
  16. package/src/constants.ts +0 -13
  17. package/src/guardian/index.ts +0 -2
  18. package/src/index.ts +2 -18
  19. package/src/presets.ts +92 -0
  20. package/src/types.ts +0 -16
  21. package/src/zkEvm/types.ts +10 -4
  22. package/dist/types/network/chainRegistry.d.ts +0 -13
  23. package/dist/types/sequence/sequenceProvider.d.ts +0 -21
  24. package/dist/types/sequence/signer/identityInstrumentSigner.d.ts +0 -15
  25. package/dist/types/sequence/signer/index.d.ts +0 -21
  26. package/dist/types/sequence/signer/privateKeySigner.d.ts +0 -15
  27. package/dist/types/sequence/signer/types.d.ts +0 -14
  28. package/dist/types/sequence/user/index.d.ts +0 -2
  29. package/dist/types/sequence/user/registerUser.d.ts +0 -18
  30. package/src/network/chainRegistry.test.ts +0 -64
  31. package/src/network/chainRegistry.ts +0 -74
  32. package/src/network/presets.ts +0 -185
  33. package/src/sequence/sequenceProvider.ts +0 -284
  34. package/src/sequence/signer/identityInstrumentSigner.ts +0 -195
  35. package/src/sequence/signer/index.ts +0 -41
  36. package/src/sequence/signer/privateKeySigner.ts +0 -112
  37. package/src/sequence/signer/types.ts +0 -24
  38. package/src/sequence/user/index.ts +0 -2
  39. package/src/sequence/user/registerUser.ts +0 -101
package/README.md CHANGED
@@ -264,8 +264,6 @@ const signature = await provider.request({
264
264
  import {
265
265
  IMMUTABLE_ZKEVM_MAINNET_CHAIN_ID, // 13371
266
266
  IMMUTABLE_ZKEVM_TESTNET_CHAIN_ID, // 13473
267
- ARBITRUM_ONE_CHAIN_ID, // 42161
268
- ARBITRUM_SEPOLIA_CHAIN_ID, // 421614
269
267
  } from '@imtbl/wallet';
270
268
  ```
271
269
 
@@ -296,20 +294,6 @@ const provider = await connectWallet({
296
294
  });
297
295
  ```
298
296
 
299
- #### Arbitrum (Multi-chain Support)
300
-
301
- ```typescript
302
- import {
303
- ARBITRUM_ONE_CHAIN, // Arbitrum One Mainnet
304
- ARBITRUM_SEPOLIA_CHAIN, // Arbitrum Sepolia Testnet
305
- } from '@imtbl/wallet';
306
-
307
- // Connect to Arbitrum One
308
- const provider = await connectWallet({
309
- chains: [ARBITRUM_ONE_CHAIN],
310
- });
311
- ```
312
-
313
297
  ### Chain Presets (Spread-friendly)
314
298
 
315
299
  ```typescript
@@ -317,8 +301,6 @@ import {
317
301
  IMMUTABLE_ZKEVM_MAINNET, // { chains: [mainnet] }
318
302
  IMMUTABLE_ZKEVM_TESTNET, // { chains: [testnet] }
319
303
  IMMUTABLE_ZKEVM_MULTICHAIN, // { chains: [testnet, mainnet] }
320
- ARBITRUM_ONE, // { chains: [arbitrum one] }
321
- ARBITRUM_SEPOLIA, // { chains: [arbitrum sepolia] }
322
304
  } from '@imtbl/wallet';
323
305
 
324
306
  // Easy to spread into connectWallet
@@ -348,18 +330,6 @@ const customChain: ChainConfig = {
348
330
  };
349
331
  ```
350
332
 
351
- ### Chain Registry Utilities
352
-
353
- ```typescript
354
- import { getChainConfig, getEvmChainFromChainId } from '@imtbl/wallet';
355
-
356
- // Get chain config by chain ID
357
- const config = getChainConfig(13371); // Returns IMMUTABLE_ZKEVM_MAINNET_CHAIN
358
-
359
- // Get EVM chain type from chain ID
360
- const evmChain = getEvmChainFromChainId(13371); // Returns EvmChain.ZKEVM
361
- ```
362
-
363
333
  ---
364
334
 
365
335
  ## Wallet Linking
@@ -647,7 +617,7 @@ import type {
647
617
  For advanced use cases, you can access the provider classes directly:
648
618
 
649
619
  ```typescript
650
- import { ZkEvmProvider, SequenceProvider } from '@imtbl/wallet';
620
+ import { ZkEvmProvider } from '@imtbl/wallet';
651
621
  ```
652
622
 
653
623
  ### Relayer Client