opticedge-cloud-utils 1.0.34 → 1.0.35

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,2 @@
1
+ import { PaymentEnvironment } from './types/payment';
2
+ export declare const CHAIN_PAYMENTENV_MAP: Record<string, PaymentEnvironment>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CHAIN_PAYMENTENV_MAP = void 0;
4
+ exports.CHAIN_PAYMENTENV_MAP = {
5
+ '80002': 'SANDBOX',
6
+ '137': 'PRODUCTION'
7
+ };
package/dist/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export * from './utils/secrets';
14
14
  export * from './utils/task';
15
15
  export * from './utils/tw-utils';
16
16
  export * from './utils/tw-wallet';
17
+ export * from './constants';
package/dist/index.js CHANGED
@@ -30,3 +30,4 @@ __exportStar(require("./utils/secrets"), exports);
30
30
  __exportStar(require("./utils/task"), exports);
31
31
  __exportStar(require("./utils/tw-utils"), exports);
32
32
  __exportStar(require("./utils/tw-wallet"), exports);
33
+ __exportStar(require("./constants"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,6 @@
1
+ import { PaymentEnvironment } from './types/payment'
2
+
3
+ export const CHAIN_PAYMENTENV_MAP: Record<string, PaymentEnvironment> = {
4
+ '80002': 'SANDBOX',
5
+ '137': 'PRODUCTION'
6
+ }
package/src/index.ts CHANGED
@@ -14,3 +14,4 @@ export * from './utils/secrets'
14
14
  export * from './utils/task'
15
15
  export * from './utils/tw-utils'
16
16
  export * from './utils/tw-wallet'
17
+ export * from './constants'
@@ -1 +1 @@
1
- export type PaymentEnvironment = 'SANDBOX' | 'PRODUCTION'
1
+ export type PaymentEnvironment = 'SANDBOX' | 'PRODUCTION'