@lifi/sdk-provider-tron 0.0.0-preview-c996a5fb → 0.0.0-preview-e8c80bc4

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/CHANGELOG.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # @lifi/sdk-provider-tron
2
2
 
3
- ## 0.0.0-preview-c996a5fb
3
+ ## 0.0.0-preview-e8c80bc4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - [#545](https://github.com/lifinance/sdk/pull/545) [`37688cc`](https://github.com/lifinance/sdk/commit/37688cc732187f08f429062e506b67dee2a2a30a) Thanks [@chybisov](https://github.com/chybisov)! - Update `tronweb` to 6.5.2.
8
+ Update `viem` to 2.57.19.
7
9
  - Updated dependencies [[`b80e5f4`](https://github.com/lifinance/sdk/commit/b80e5f49941190812935644c55d5c9c075bac354), [`de384d3`](https://github.com/lifinance/sdk/commit/de384d3fffbe0f87f73f268529b8f528cf2c4a8b)]:
8
- - @lifi/sdk@0.0.0-preview-c996a5fb
10
+ - @lifi/sdk@0.0.0-preview-e8c80bc4
9
11
 
10
12
  ## 4.1.10
11
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["ChainType"],"sources":["../../src/types.ts"],"sourcesContent":["import {\n ChainType,\n type LiFiStepExtended,\n type SDKProvider,\n type StepExecutorContext,\n type StepExecutorOptions,\n} from '@lifi/sdk'\nimport type {\n Adapter,\n SignedTransaction,\n} from '@tronweb3/tronwallet-abstract-adapter'\n\nexport interface TronProviderOptions {\n getWallet?: () => Promise<Adapter>\n multicallBatchSize?: number\n}\n\nexport interface TronTaskContext {\n signedTransaction?: SignedTransaction\n hasSufficientAllowance?: boolean\n}\n\nexport interface TronStepExecutorContext\n extends StepExecutorContext,\n TronTaskContext {\n wallet: Adapter\n checkWallet: (step: LiFiStepExtended) => void\n}\n\nexport interface TronSDKProvider extends SDKProvider {\n setOptions(options: TronProviderOptions): void\n}\n\nexport function isTronProvider(\n provider: SDKProvider\n): provider is TronSDKProvider {\n return provider.type === ChainType.TVM\n}\n\nexport interface TronStepExecutorOptions extends StepExecutorOptions {\n wallet: Adapter\n}\n"],"mappings":";;;AAiCA,SAAgB,eACd,UAC6B;CAC7B,OAAO,SAAS,SAASA,UAAAA,UAAU;AACrC"}
1
+ {"version":3,"file":"types.js","names":["ChainType"],"sources":["../../src/types.ts"],"sourcesContent":["import {\n ChainType,\n type LiFiStepExtended,\n type SDKProvider,\n type StepExecutorContext,\n type StepExecutorOptions,\n} from '@lifi/sdk'\nimport type {\n Adapter,\n SignedTransaction,\n} from '@tronweb3/tronwallet-abstract-adapter'\n\nexport interface TronProviderOptions {\n getWallet?: () => Promise<Adapter>\n multicallBatchSize?: number\n}\n\nexport interface TronTaskContext {\n signedTransaction?: SignedTransaction\n hasSufficientAllowance?: boolean\n}\n\nexport interface TronStepExecutorContext\n extends StepExecutorContext, TronTaskContext {\n wallet: Adapter\n checkWallet: (step: LiFiStepExtended) => void\n}\n\nexport interface TronSDKProvider extends SDKProvider {\n setOptions(options: TronProviderOptions): void\n}\n\nexport function isTronProvider(\n provider: SDKProvider\n): provider is TronSDKProvider {\n return provider.type === ChainType.TVM\n}\n\nexport interface TronStepExecutorOptions extends StepExecutorOptions {\n wallet: Adapter\n}\n"],"mappings":";;;AAgCA,SAAgB,eACd,UAC6B;CAC7B,OAAO,SAAS,SAASA,UAAAA,UAAU;AACrC"}
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/sdk-provider-tron";
2
- export declare const version = "0.0.0-preview-c996a5fb";
2
+ export declare const version = "0.0.0-preview-e8c80bc4";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  // src/version.ts
3
3
  const name = "@lifi/sdk-provider-tron";
4
- const version = "0.0.0-preview-c996a5fb";
4
+ const version = "0.0.0-preview-e8c80bc4";
5
5
  exports.name = name;
6
6
  exports.version = version;
7
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../../src/version.ts"],"sourcesContent":["export const name = '@lifi/sdk-provider-tron'\nexport const version = '0.0.0-preview-c996a5fb'\n"],"mappings":";;AAAA,MAAa,OAAO;AACpB,MAAa,UAAU"}
1
+ {"version":3,"file":"version.js","names":[],"sources":["../../src/version.ts"],"sourcesContent":["export const name = '@lifi/sdk-provider-tron'\nexport const version = '0.0.0-preview-e8c80bc4'\n"],"mappings":";;AAAA,MAAa,OAAO;AACpB,MAAa,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../src/types.ts"],"mappings":";;iBAYiB;EACf,kBAAkB,QAAQ;EAC1B;;iBAGe;EACf,oBAAoB;EACpB;;iBAGe,gCACP,qBACN;EACF,QAAQ;EACR,cAAc,MAAM;;iBAGL,wBAAwB;EACvC,WAAW,SAAS;;wBAGN,eACd,UAAU,cACT,YAAY;iBAIE,gCAAgC;EAC/C,QAAQ"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../src/types.ts"],"mappings":";;iBAYiB;EACf,kBAAkB,QAAQ;EAC1B;;iBAGe;EACf,oBAAoB;EACpB;;iBAGe,gCACP,qBAAqB;EAC7B,QAAQ;EACR,cAAc,MAAM;;iBAGL,wBAAwB;EACvC,WAAW,SAAS;;wBAGN,eACd,UAAU,cACT,YAAY;iBAIE,gCAAgC;EAC/C,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../src/types.ts"],"sourcesContent":["import {\n ChainType,\n type LiFiStepExtended,\n type SDKProvider,\n type StepExecutorContext,\n type StepExecutorOptions,\n} from '@lifi/sdk'\nimport type {\n Adapter,\n SignedTransaction,\n} from '@tronweb3/tronwallet-abstract-adapter'\n\nexport interface TronProviderOptions {\n getWallet?: () => Promise<Adapter>\n multicallBatchSize?: number\n}\n\nexport interface TronTaskContext {\n signedTransaction?: SignedTransaction\n hasSufficientAllowance?: boolean\n}\n\nexport interface TronStepExecutorContext\n extends StepExecutorContext,\n TronTaskContext {\n wallet: Adapter\n checkWallet: (step: LiFiStepExtended) => void\n}\n\nexport interface TronSDKProvider extends SDKProvider {\n setOptions(options: TronProviderOptions): void\n}\n\nexport function isTronProvider(\n provider: SDKProvider\n): provider is TronSDKProvider {\n return provider.type === ChainType.TVM\n}\n\nexport interface TronStepExecutorOptions extends StepExecutorOptions {\n wallet: Adapter\n}\n"],"mappings":";;AAiCA,SAAgB,eACd,UAC6B;CAC7B,OAAO,SAAS,SAAS,UAAU;AACrC"}
1
+ {"version":3,"file":"types.js","names":[],"sources":["../../src/types.ts"],"sourcesContent":["import {\n ChainType,\n type LiFiStepExtended,\n type SDKProvider,\n type StepExecutorContext,\n type StepExecutorOptions,\n} from '@lifi/sdk'\nimport type {\n Adapter,\n SignedTransaction,\n} from '@tronweb3/tronwallet-abstract-adapter'\n\nexport interface TronProviderOptions {\n getWallet?: () => Promise<Adapter>\n multicallBatchSize?: number\n}\n\nexport interface TronTaskContext {\n signedTransaction?: SignedTransaction\n hasSufficientAllowance?: boolean\n}\n\nexport interface TronStepExecutorContext\n extends StepExecutorContext, TronTaskContext {\n wallet: Adapter\n checkWallet: (step: LiFiStepExtended) => void\n}\n\nexport interface TronSDKProvider extends SDKProvider {\n setOptions(options: TronProviderOptions): void\n}\n\nexport function isTronProvider(\n provider: SDKProvider\n): provider is TronSDKProvider {\n return provider.type === ChainType.TVM\n}\n\nexport interface TronStepExecutorOptions extends StepExecutorOptions {\n wallet: Adapter\n}\n"],"mappings":";;AAgCA,SAAgB,eACd,UAC6B;CAC7B,OAAO,SAAS,SAAS,UAAU;AACrC"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@lifi/sdk-provider-tron";
2
- export declare const version = "0.0.0-preview-c996a5fb";
2
+ export declare const version = "0.0.0-preview-e8c80bc4";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  const name = "@lifi/sdk-provider-tron";
3
- const version = "0.0.0-preview-c996a5fb";
3
+ const version = "0.0.0-preview-e8c80bc4";
4
4
  export { name, version };
5
5
 
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../../src/version.ts"],"sourcesContent":["export const name = '@lifi/sdk-provider-tron'\nexport const version = '0.0.0-preview-c996a5fb'\n"],"mappings":";AAAA,MAAa,OAAO;AACpB,MAAa,UAAU"}
1
+ {"version":3,"file":"version.js","names":[],"sources":["../../src/version.ts"],"sourcesContent":["export const name = '@lifi/sdk-provider-tron'\nexport const version = '0.0.0-preview-e8c80bc4'\n"],"mappings":";AAAA,MAAa,OAAO;AACpB,MAAa,UAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/sdk-provider-tron",
3
- "version": "0.0.0-preview-c996a5fb",
3
+ "version": "0.0.0-preview-e8c80bc4",
4
4
  "description": "LI.FI Tron SDK Provider for Any-to-Any Cross-Chain-Swap",
5
5
  "homepage": "https://github.com/lifinance/sdk",
6
6
  "bugs": {
@@ -28,9 +28,9 @@
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "dependencies": {
31
- "@lifi/sdk": "0.0.0-preview-c996a5fb",
31
+ "@lifi/sdk": "0.0.0-preview-e8c80bc4",
32
32
  "@tronweb3/tronwallet-abstract-adapter": "^1.3.0",
33
- "tronweb": "^6.5.1"
33
+ "tronweb": "^6.5.2"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- // biome-ignore lint/performance/noBarrelFile: module entrypoint
2
1
  export { TronProvider } from './TronProvider.js'
3
2
  export type { TronProviderOptions, TronSDKProvider } from './types.js'
4
3
  export { isTronProvider } from './types.js'
package/src/types.ts CHANGED
@@ -21,8 +21,7 @@ export interface TronTaskContext {
21
21
  }
22
22
 
23
23
  export interface TronStepExecutorContext
24
- extends StepExecutorContext,
25
- TronTaskContext {
24
+ extends StepExecutorContext, TronTaskContext {
26
25
  wallet: Adapter
27
26
  checkWallet: (step: LiFiStepExtended) => void
28
27
  }
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export const name = '@lifi/sdk-provider-tron'
2
- export const version = '0.0.0-preview-c996a5fb'
2
+ export const version = '0.0.0-preview-e8c80bc4'