@layerswap/wallet-fuel 1.2.1 → 1.3.0

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.
@@ -0,0 +1,4 @@
1
+ export declare const name = "Fuel";
2
+ export declare const id = "fuel";
3
+ export declare const commonSupportedNetworks: string[];
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAS,CAAA;AAC1B,eAAO,MAAM,EAAE,SAAS,CAAA;AACxB,eAAO,MAAM,uBAAuB,UAInC,CAAA"}
@@ -1,6 +1,7 @@
1
- import { Network, AddressUtilsProvider } from "@layerswap/widget/types";
1
+ import { Network, AddressUtilsProvider, AddressUtilsProviderProps } from "@layerswap/widget/types";
2
2
  export declare class FuelAddressUtilsProvider implements AddressUtilsProvider {
3
+ readonly providerName = "Fuel";
3
4
  supportsNetwork(network: Network): boolean;
4
- isValidAddress(address?: string): boolean;
5
+ isValidAddress(props: AddressUtilsProviderProps): boolean;
5
6
  }
6
7
  //# sourceMappingURL=fuelAddressUtilsProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fuelAddressUtilsProvider.d.ts","sourceRoot":"","sources":["../../src/fuelAddressUtilsProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGxE,qBAAa,wBAAyB,YAAW,oBAAoB;IACjE,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;IAI1C,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM;CAalC"}
1
+ {"version":3,"file":"fuelAddressUtilsProvider.d.ts","sourceRoot":"","sources":["../../src/fuelAddressUtilsProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAInG,qBAAa,wBAAyB,YAAW,oBAAoB;IACjE,QAAQ,CAAC,YAAY,UAAQ;IAE7B,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;IAI1C,cAAc,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO;CAe5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFuelConnection.d.ts","sourceRoot":"","sources":["../../src/useFuelConnection.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6B,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAI7H,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,6BAA6B,GAAG,wBAAwB,CA0M/G"}
1
+ {"version":3,"file":"useFuelConnection.d.ts","sourceRoot":"","sources":["../../src/useFuelConnection.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6B,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAK7H,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,6BAA6B,GAAG,wBAAwB,CAmM/G"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerswap/wallet-fuel",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Fuel Wallet Provider for Layerswap Widget",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -37,7 +37,7 @@
37
37
  "@wagmi/core": "2.16.4",
38
38
  "wagmi": "2.14.11",
39
39
  "viem": "^2.21.16",
40
- "@layerswap/widget": "^1.2.2"
40
+ "@layerswap/widget": "^1.3.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@ethersproject/bytes": "^5.8.0",
@@ -54,7 +54,7 @@
54
54
  "devDependencies": {
55
55
  "react": "19.2.3",
56
56
  "react-dom": "19.2.3",
57
- "@layerswap/widget": "^1.2.2"
57
+ "@layerswap/widget": "^1.3.0"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=22"