sushi 6.4.2 → 6.4.4

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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../generic/types/address.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../generic/types/address.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { EvmChainId } from '../../evm/chain/chains.js';
2
+ import type { EvmAddress } from '../../evm/currency/token.js';
3
+ import type { SvmChainId } from '../../svm/chain/chains.js';
4
+ import type { SvmAddress } from '../../svm/currency/token.js';
5
+ import type { ChainId } from '../chain/chains.js';
6
+ export type AddressFor<TChainId extends ChainId> = TChainId extends EvmChainId ? EvmAddress : TChainId extends SvmChainId ? SvmAddress : never;
7
+ //# sourceMappingURL=address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../generic/types/address.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,MAAM,UAAU,CAAC,QAAQ,SAAS,OAAO,IAAI,QAAQ,SAAS,UAAU,GAC1E,UAAU,GACV,QAAQ,SAAS,UAAU,GACzB,UAAU,GACV,KAAK,CAAA"}
@@ -1,3 +1,4 @@
1
+ export type * from './address.js';
1
2
  export type * from './bigintish.js';
2
3
  export type * from './id.js';
3
4
  export type * from './mutable.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generic/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,4BAA4B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generic/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,4BAA4B,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { EvmChainId } from '../../evm/chain/chains.js'
2
+ import type { EvmAddress } from '../../evm/currency/token.js'
3
+ import type { SvmChainId } from '../../svm/chain/chains.js'
4
+ import type { SvmAddress } from '../../svm/currency/token.js'
5
+ import type { ChainId } from '../chain/chains.js'
6
+
7
+ export type AddressFor<TChainId extends ChainId> = TChainId extends EvmChainId
8
+ ? EvmAddress
9
+ : TChainId extends SvmChainId
10
+ ? SvmAddress
11
+ : never
@@ -1,3 +1,4 @@
1
+ export type * from './address.js'
1
2
  export type * from './bigintish.js'
2
3
  export type * from './id.js'
3
4
  export type * from './mutable.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sushi",
3
3
  "description": "Sushi",
4
- "version": "6.4.2",
4
+ "version": "6.4.4",
5
5
  "type": "module",
6
6
  "main": "./_cjs/generic/index.js",
7
7
  "module": "./_esm/generic/index.js",