@portal-hq/web 0.0.1-beta1.0 → 0.0.1-beta2

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.
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const utils_1 = require("@portal-hq/utils");
13
- const WEB_SDK_VERSION = '0.0.1-beta-1';
13
+ const WEB_SDK_VERSION = '0.0.1-beta2';
14
14
  class Mpc {
15
15
  constructor({ apiKey, chainId, portal, rpcUrl,
16
16
  // Optional
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { PortalMpcError } from '@portal-hq/utils';
11
- const WEB_SDK_VERSION = '0.0.1-beta-1';
11
+ const WEB_SDK_VERSION = '0.0.1-beta2';
12
12
  class Mpc {
13
13
  constructor({ apiKey, chainId, portal, rpcUrl,
14
14
  // Optional
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Portal MPC Support for Web",
4
4
  "author": "Portal Labs, Inc.",
5
5
  "homepage": "https://portalhq.io/",
6
- "version": "0.0.1-beta1.0",
6
+ "version": "0.0.1-beta2",
7
7
  "license": "MIT",
8
8
  "main": "lib/commonjs/index",
9
9
  "module": "lib/esm/index",
@@ -21,6 +21,7 @@
21
21
  "prepare": "sh ./scripts/version-mpc.sh && yarn prepare:cjs && yarn prepare:esm && rm -rf lib/esm/iframe && rm -rf lib/commonjs/iframe",
22
22
  "prepare:cjs": "tsc --outDir lib/commonjs --module commonjs",
23
23
  "prepare:esm": "tsc --outDir lib/esm --module es2015 --target es2015",
24
+ "prerelease": "sh ./scripts/version-mpc.sh && yarn bundle && sh ./scripts/write-to-gcp-bucket.sh",
24
25
  "test": "jest"
25
26
  },
26
27
  "dependencies": {
package/src/mpc/index.ts CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  WorkerResult,
17
17
  } from '../../types'
18
18
 
19
- const WEB_SDK_VERSION = '0.0.1-beta-1'
19
+ const WEB_SDK_VERSION = '0.0.1-beta2'
20
20
 
21
21
  class Mpc {
22
22
  private apiHost: string