@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.
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 =
|
|
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 =
|
|
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
|
+
"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": "
|
|
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
|
+
}
|