@proton/wrap-constants 0.2.26 → 0.2.29

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.26",
8
+ "version": "0.2.29",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "lodash.clonedeep": "^4.5.0",
42
- "nestjs-zod": "^1.1.2"
42
+ "zod": "^3.19.1"
43
43
  },
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "323e799b481829d9c251d54dcc8beac4fac48215"
47
+ "gitHead": "de36900e1a08e96c9187a99a2f37c2b6e470cae8"
48
48
  }
package/src/coins.ts CHANGED
@@ -283,16 +283,28 @@ export const initializeCoins = (protonChain: string): {
283
283
  provider: Providers.METAL,
284
284
  hasWithdrawMemo: false
285
285
  }]: []),
286
- ...(IS_MAINNET ? [{
287
- wallet: 'METAL',
288
- symbol: 'METAL',
289
- chain: Chains.EthereumMainnet,
290
- network: Networks.ERC20,
291
- precision: 18,
292
- contract: '',
293
- provider: Providers.FIREBLOCKS,
294
- hasWithdrawMemo: false
295
- }]: [])
286
+ ...(IS_MAINNET ? [
287
+ // {
288
+ // wallet: 'METAL',
289
+ // symbol: 'METAL',
290
+ // chain: Chains.MetalCMainnet,
291
+ // network: Networks.EVM,
292
+ // precision: 18,
293
+ // contract: '',
294
+ // provider: Providers.METAL,
295
+ // hasWithdrawMemo: false
296
+ // },
297
+ {
298
+ wallet: 'METAL',
299
+ symbol: 'METAL',
300
+ chain: Chains.EthereumMainnet,
301
+ network: Networks.ERC20,
302
+ precision: 18,
303
+ contract: '',
304
+ provider: Providers.FIREBLOCKS,
305
+ hasWithdrawMemo: false
306
+ }
307
+ ]: [])
296
308
  ],
297
309
  image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/metal-chain.png',
298
310
  coingeckoId: 'metal-blockchain'
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z';
1
+ import * as z from 'zod';
2
2
  import { accountParser, authorizationsParser } from './base'
3
3
 
4
4
  const actionParser = z.object({
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z';
1
+ import * as z from 'zod';
2
2
  import { accountParser } from './base'
3
3
  import { generateAuthParser } from './auth'
4
4
 
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z';
1
+ import * as z from 'zod';
2
2
  import { baseActionParser, singleActionTransactionParser } from './actions'
3
3
  import { authorizationParser } from './base'
4
4
  import { WRAP_CONTRACT, WRAP_AUTH_ACTION } from '../constants'
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
 
3
3
  export const accountParser = z.string().regex(/^[.1-5a-z]{0,12}[.1-5a-j]?$/)
4
4
 
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
 
3
3
  export interface CurrencyStat {
4
4
  supply : string;
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
 
3
3
  export enum Type {
4
4
  RECEIVE = 'receive',
@@ -1,5 +1,5 @@
1
1
  import { ExtendedAsset, ExtendedSymbol } from '@bloks/numbers';
2
- import { z } from 'nestjs-zod/z';
2
+ import * as z from 'zod';
3
3
 
4
4
  const numTransform = z.string().regex(/\d+/).transform(Number)
5
5
 
@@ -1,4 +1,4 @@
1
- import { z } from "nestjs-zod/z"
1
+ import * as z from 'zod';
2
2
  import { generateAuthParser } from "./auth"
3
3
 
4
4
  export const loginAccountParamsV3Parser = z.object({
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
 
3
3
  export const otcOrderResponseParser = z.object({
4
4
  success : z.boolean(),
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
  import { singleActionTransactionParser } from './actions'
3
3
  import { authorizationParser } from './base'
4
4
  import { WRAP_CONTRACT } from '../constants'
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
 
3
3
  export const withdrawHistoryMetalSwapParser = z.object({
4
4
  id : z.string(),
@@ -1,4 +1,4 @@
1
- import { z } from 'nestjs-zod/z'
1
+ import * as z from 'zod'
2
2
  import { ExtendedAssetParser } from './base'
3
3
 
4
4
  export enum Status {