@swirepay-developer/sparo-embed-sdk 1.0.0 → 1.0.1
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/README.md +4 -0
- package/package.json +7 -9
package/README.md
CHANGED
|
@@ -15,6 +15,10 @@ For Maven/WebJar distribution, see `MAVEN-PUBLISH.md`.
|
|
|
15
15
|
npm install @swirepay/sparo-embed-sdk
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
For private scope access, ensure the consumer app’s `.npmrc` is configured for your org registry (do not commit tokens).
|
|
19
|
+
|
|
20
|
+
Local development without registry access: see [INSTALL.md](./INSTALL.md).
|
|
21
|
+
|
|
18
22
|
## Quick Start
|
|
19
23
|
|
|
20
24
|
```js
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swirepay-developer/sparo-embed-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "SPARO embedding SDK for guest-token based iframe integration",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"author": "Swirepay",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"type": "module",
|
|
10
|
-
"main": "./dist/index.
|
|
11
|
-
"module": "./dist/index.
|
|
10
|
+
"main": "./dist/index.cjs",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
12
|
"types": "./types/index.d.ts",
|
|
13
13
|
"unpkg": "./dist/sparo-embed-sdk.global.js",
|
|
14
14
|
"jsdelivr": "./dist/sparo-embed-sdk.global.js",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
17
|
"types": "./types/index.d.ts",
|
|
18
|
-
"import": "./dist/index.
|
|
19
|
-
"require": "./dist/index.
|
|
20
|
-
"default": "./dist/index.
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"require": "./dist/index.cjs",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
21
|
},
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "
|
|
42
|
+
"url": "https://github.com/swirepay/sparo-embed-sdk.git"
|
|
43
43
|
},
|
|
44
44
|
"bugs": {
|
|
45
45
|
"url": "https://github.com/swirepay/sparo-embed-sdk/issues"
|
|
@@ -56,11 +56,9 @@
|
|
|
56
56
|
"prepare": "husky"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@eslint/js": "^9.28.0",
|
|
60
59
|
"@testing-library/dom": "^10.4.0",
|
|
61
60
|
"esbuild": "^0.25.5",
|
|
62
61
|
"eslint": "^9.28.0",
|
|
63
|
-
"globals": "^16.2.0",
|
|
64
62
|
"husky": "^9.0.11",
|
|
65
63
|
"jsdom": "^26.1.0",
|
|
66
64
|
"lint-staged": "^15.2.2",
|