@fastxyz/allset-sdk 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -104,7 +104,7 @@ import { Signer, FastProvider } from '@fastxyz/sdk';
104
104
  import { executeWithdraw } from '@fastxyz/allset-sdk';
105
105
 
106
106
  const signer = new Signer('0xYourPrivateKey');
107
- const provider = new FastProvider({ rpcUrl: 'https://your-fast-rpc...' });
107
+ const provider = new FastProvider({ url: 'https://your-fast-rpc...' });
108
108
 
109
109
  const result = await executeWithdraw({
110
110
  fastBridgeAddress: 'fast1bridge...',
@@ -129,7 +129,7 @@ import { Signer, FastProvider } from '@fastxyz/sdk';
129
129
  import { executeIntent, buildTransferIntent } from '@fastxyz/allset-sdk';
130
130
 
131
131
  const signer = new Signer('0xYourPrivateKey');
132
- const provider = new FastProvider({ rpcUrl: 'https://...' });
132
+ const provider = new FastProvider({ url: 'https://...' });
133
133
 
134
134
  const result = await executeIntent({
135
135
  fastBridgeAddress: 'fast1bridge...',
package/dist/index.d.ts CHANGED
@@ -531,7 +531,7 @@ declare function executeDeposit(params: ExecuteDepositParams): Promise<BridgeRes
531
531
  * import { Signer, FastProvider } from '@fastxyz/sdk';
532
532
  *
533
533
  * const signer = new Signer(privateKeyHex);
534
- * const provider = new FastProvider({ rpcUrl: 'https://proxy.fast.xyz' });
534
+ * const provider = new FastProvider({ url: 'https://proxy.fast.xyz' });
535
535
  *
536
536
  * const intent = buildTransferIntent(tokenEvmAddress, receiverEvmAddress);
537
537
  * const result = await executeIntent({
@@ -560,7 +560,7 @@ declare function executeIntent(params: ExecuteIntentParams): Promise<BridgeResul
560
560
  * import { Signer, FastProvider } from '@fastxyz/sdk';
561
561
  *
562
562
  * const signer = new Signer(privateKeyHex);
563
- * const provider = new FastProvider({ rpcUrl: 'https://proxy.fast.xyz' });
563
+ * const provider = new FastProvider({ url: 'https://proxy.fast.xyz' });
564
564
  *
565
565
  * const result = await executeWithdraw({
566
566
  * fastBridgeAddress: 'fast1...',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastxyz/allset-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AllSet SDK for AllSet bridge flows between Fast and EVM testnets",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,8 +42,8 @@
42
42
  "bech32": "^2.0.0",
43
43
  "effect": "^3.21.0",
44
44
  "viem": "^2.46.2",
45
- "@fastxyz/schema": "1.0.1",
46
- "@fastxyz/sdk": "1.0.1"
45
+ "@fastxyz/schema": "2.0.0",
46
+ "@fastxyz/sdk": "2.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.5.0"