@shapeshiftoss/unchained-client 9.9.0 → 10.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.
Files changed (32) hide show
  1. package/dist/evm/ethereum/parser/abi/foxyStaking.d.ts +1 -1
  2. package/dist/evm/ethereum/parser/abi/shapeShiftRouter.d.ts +1 -1
  3. package/dist/evm/ethereum/parser/abi/thor.d.ts +1 -1
  4. package/dist/evm/ethereum/parser/abi/uniV2.d.ts +1 -1
  5. package/dist/evm/ethereum/parser/abi/uniV2StakingRewards.d.ts +1 -1
  6. package/dist/evm/ethereum/parser/abi/weth.d.ts +1 -1
  7. package/dist/evm/ethereum/parser/abi/yearnVault.d.ts +1 -1
  8. package/dist/evm/parser/abi/erc20.d.ts +1 -1
  9. package/dist/evm/parser/index.d.ts +1 -1
  10. package/dist/generated/cosmos/api.d.ts +183 -66
  11. package/dist/generated/cosmos/api.js +82 -13
  12. package/dist/generated/cosmos/base.d.ts +1 -1
  13. package/dist/generated/cosmos/base.js +1 -1
  14. package/dist/generated/cosmos/common.d.ts +1 -1
  15. package/dist/generated/cosmos/common.js +1 -1
  16. package/dist/generated/cosmos/configuration.d.ts +1 -1
  17. package/dist/generated/cosmos/configuration.js +1 -1
  18. package/dist/generated/cosmos/index.d.ts +1 -1
  19. package/dist/generated/cosmos/index.js +1 -1
  20. package/dist/generated/osmosis/api.d.ts +183 -66
  21. package/dist/generated/osmosis/api.js +82 -13
  22. package/dist/generated/osmosis/base.d.ts +1 -1
  23. package/dist/generated/osmosis/base.js +1 -1
  24. package/dist/generated/osmosis/common.d.ts +1 -1
  25. package/dist/generated/osmosis/common.js +1 -1
  26. package/dist/generated/osmosis/configuration.d.ts +1 -1
  27. package/dist/generated/osmosis/configuration.js +1 -1
  28. package/dist/generated/osmosis/index.d.ts +1 -1
  29. package/dist/generated/osmosis/index.js +1 -1
  30. package/dist/types.d.ts +3 -3
  31. package/dist/utils.d.ts +1 -1
  32. package/package.json +3 -3
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Osmosis Unchained API
6
- * Provides access to osmosis chain data
6
+ * Provides access to osmosis chain data.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Osmosis Unchained API
3
- * Provides access to osmosis chain data
3
+ * Provides access to osmosis chain data.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Osmosis Unchained API
6
- * Provides access to osmosis chain data
6
+ * Provides access to osmosis chain data.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Osmosis Unchained API
3
- * Provides access to osmosis chain data
3
+ * Provides access to osmosis chain data.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Osmosis Unchained API
6
- * Provides access to osmosis chain data
6
+ * Provides access to osmosis chain data.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Osmosis Unchained API
3
- * Provides access to osmosis chain data
3
+ * Provides access to osmosis chain data.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Osmosis Unchained API
6
- * Provides access to osmosis chain data
6
+ * Provides access to osmosis chain data.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
package/dist/types.d.ts CHANGED
@@ -34,9 +34,9 @@ export interface Transfer {
34
34
  assetId: string;
35
35
  type: TransferType;
36
36
  totalValue: string;
37
- components: Array<{
37
+ components: {
38
38
  value: string;
39
- }>;
39
+ }[];
40
40
  token?: Token;
41
41
  }
42
42
  export declare enum TransferType {
@@ -58,7 +58,7 @@ export interface StandardTx {
58
58
  fee?: Fee;
59
59
  status: TxStatus;
60
60
  trade?: Trade;
61
- transfers: Array<Transfer>;
61
+ transfers: Transfer[];
62
62
  txid: string;
63
63
  }
64
64
  export declare type ParsedTx = StandardTx;
package/dist/utils.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Token, Transfer, TransferType } from './types';
2
2
  export declare function findAsyncSequential<T, U>(array: T[], predicate: (element: T) => Promise<U | undefined>): Promise<U | undefined>;
3
- export declare function aggregateTransfer(transfers: Array<Transfer>, type: TransferType, assetId: string, from: string, to: string, value: string, token?: Token): Array<Transfer>;
3
+ export declare function aggregateTransfer(transfers: Transfer[], type: TransferType, assetId: string, from: string, to: string, value: string, token?: Token): Transfer[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/unchained-client",
3
- "version": "9.9.0",
3
+ "version": "10.0.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "source": "src/index.ts",
@@ -29,13 +29,13 @@
29
29
  "ws": "^8.3.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "@shapeshiftoss/caip": "^6.7.0",
32
+ "@shapeshiftoss/caip": "^8.0.0",
33
33
  "@shapeshiftoss/logger": "^1.1.2",
34
34
  "@shapeshiftoss/types": "^8.1.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@openapitools/openapi-generator-cli": "^2.5.1",
38
- "@shapeshiftoss/caip": "^6.7.0",
38
+ "@shapeshiftoss/caip": "^8.0.0",
39
39
  "@shapeshiftoss/common-api": "^8.0.0",
40
40
  "@shapeshiftoss/logger": "^1.1.2",
41
41
  "@shapeshiftoss/types": "^8.1.0",