@portone/browser-sdk 0.0.4 → 0.0.5

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.
@@ -15,7 +15,6 @@ export type LoadIssueBillingKeyUIRequest = {
15
15
  billingKeyMethod: Entity.BillingKeyMethod;
16
16
  issueName?: string;
17
17
  issueId?: string;
18
- billingKey?: string;
19
18
  customer?: Entity.Customer;
20
19
  redirectUrl?: string;
21
20
  locale?: Entity.Locale;
@@ -11,7 +11,6 @@ export type IssueBillingKeyRequest = {
11
11
  billingKeyMethod: Entity.BillingKeyMethod;
12
12
  issueName?: string;
13
13
  issueId?: string;
14
- billingKey?: string;
15
14
  customer?: Entity.Customer;
16
15
  windowType?: Entity.WindowTypes;
17
16
  redirectUrl?: string;
@@ -9,7 +9,6 @@ export type PaymentRequest = {
9
9
  channelKey?: string;
10
10
  pgProvider?: Entity.PgProvider;
11
11
  isTestChannel?: boolean;
12
- channelGroupId?: string;
13
12
  taxFreeAmount?: number;
14
13
  vatAmount?: number;
15
14
  customer?: Entity.Customer;
package/dist/v2.cjs CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _a;
6
6
  let promise = null;
7
7
  const portone = {
8
- jsSdkUrl: (_a = '/v2/browser-sdk.js') !== null && _a !== void 0 ? _a : 'https://cdn.portone.io/v2/browser-sdk.js',
8
+ jsSdkUrl: (_a = undefined) !== null && _a !== void 0 ? _a : 'https://cdn.portone.io/v2/browser-sdk.js',
9
9
  };
10
10
  function findScript() {
11
11
  return document.querySelector(`script[src="${portone.jsSdkUrl}"]`);
package/dist/v2.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var _a;
2
2
  let promise = null;
3
3
  const portone = {
4
- jsSdkUrl: (_a = '/v2/browser-sdk.js') !== null && _a !== void 0 ? _a : 'https://cdn.portone.io/v2/browser-sdk.js',
4
+ jsSdkUrl: (_a = undefined) !== null && _a !== void 0 ? _a : 'https://cdn.portone.io/v2/browser-sdk.js',
5
5
  };
6
6
  function findScript() {
7
7
  return document.querySelector(`script[src="${portone.jsSdkUrl}"]`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@portone/browser-sdk",
3
3
  "type": "module",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "description": "PortOne SDK for browser",
6
6
  "keywords": [
7
7
  "PortOne",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rm -rf dist && rollup -c && tsconfig-replace-paths -s src",
42
- "prepublishOnly": "npm run build"
42
+ "prepublishOnly": "yarn build"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-alias": "^5.0.0",
@@ -51,4 +51,4 @@
51
51
  "tslib": "^2.6.0",
52
52
  "typescript": "^5.1.6"
53
53
  }
54
- }
54
+ }