@swirepay-developer/sparo-embed-sdk 1.0.0 → 1.0.2
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 +183 -8
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.2",
|
|
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
|
},
|
|
@@ -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",
|
|
@@ -74,5 +72,182 @@
|
|
|
74
72
|
"eslint --fix",
|
|
75
73
|
"prettier --write"
|
|
76
74
|
]
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"acorn": "^8.16.0",
|
|
78
|
+
"acorn-jsx": "^5.3.2",
|
|
79
|
+
"agent-base": "^7.1.4",
|
|
80
|
+
"ajv": "^6.15.0",
|
|
81
|
+
"ansi-regex": "^5.0.1",
|
|
82
|
+
"ansi-styles": "^4.3.0",
|
|
83
|
+
"any-promise": "^1.3.0",
|
|
84
|
+
"argparse": "^2.0.1",
|
|
85
|
+
"assertion-error": "^2.0.1",
|
|
86
|
+
"balanced-match": "^1.0.2",
|
|
87
|
+
"brace-expansion": "^1.1.14",
|
|
88
|
+
"braces": "^3.0.3",
|
|
89
|
+
"buffer-from": "^1.1.2",
|
|
90
|
+
"bundle-require": "^5.1.0",
|
|
91
|
+
"cac": "^6.7.14",
|
|
92
|
+
"callsites": "^3.1.0",
|
|
93
|
+
"chai": "^5.3.3",
|
|
94
|
+
"chalk": "^4.1.2",
|
|
95
|
+
"check-error": "^2.1.3",
|
|
96
|
+
"cli-cursor": "^5.0.0",
|
|
97
|
+
"cli-truncate": "^4.0.0",
|
|
98
|
+
"color-convert": "^2.0.1",
|
|
99
|
+
"color-name": "^1.1.4",
|
|
100
|
+
"colorette": "^2.0.20",
|
|
101
|
+
"commander": "^4.1.1",
|
|
102
|
+
"concat-map": "^0.0.1",
|
|
103
|
+
"confbox": "^0.1.8",
|
|
104
|
+
"consola": "^3.4.2",
|
|
105
|
+
"cross-spawn": "^7.0.6",
|
|
106
|
+
"cssstyle": "^4.6.0",
|
|
107
|
+
"data-urls": "^5.0.0",
|
|
108
|
+
"debug": "^4.4.3",
|
|
109
|
+
"decimal.js": "^10.6.0",
|
|
110
|
+
"deep-eql": "^5.0.2",
|
|
111
|
+
"deep-is": "^0.1.4",
|
|
112
|
+
"dequal": "^2.0.3",
|
|
113
|
+
"environment": "^1.1.0",
|
|
114
|
+
"escape-string-regexp": "^4.0.0",
|
|
115
|
+
"eslint-scope": "^8.4.0",
|
|
116
|
+
"eslint-visitor-keys": "^3.4.3",
|
|
117
|
+
"espree": "^10.4.0",
|
|
118
|
+
"esquery": "^1.7.0",
|
|
119
|
+
"esrecurse": "^4.3.0",
|
|
120
|
+
"estraverse": "^5.3.0",
|
|
121
|
+
"esutils": "^2.0.3",
|
|
122
|
+
"expect-type": "^1.3.0",
|
|
123
|
+
"fast-deep-equal": "^3.1.3",
|
|
124
|
+
"fast-json-stable-stringify": "^2.1.0",
|
|
125
|
+
"fast-levenshtein": "^2.0.6",
|
|
126
|
+
"file-entry-cache": "^8.0.0",
|
|
127
|
+
"fill-range": "^7.1.1",
|
|
128
|
+
"find-up": "^5.0.0",
|
|
129
|
+
"fix-dts-default-cjs-exports": "^1.0.1",
|
|
130
|
+
"flat-cache": "^4.0.1",
|
|
131
|
+
"flatted": "^3.4.2",
|
|
132
|
+
"get-east-asian-width": "^1.6.0",
|
|
133
|
+
"glob-parent": "^6.0.2",
|
|
134
|
+
"has-flag": "^4.0.0",
|
|
135
|
+
"html-encoding-sniffer": "^4.0.0",
|
|
136
|
+
"http-proxy-agent": "^7.0.2",
|
|
137
|
+
"https-proxy-agent": "^7.0.6",
|
|
138
|
+
"iconv-lite": "^0.6.3",
|
|
139
|
+
"ignore": "^5.3.2",
|
|
140
|
+
"import-fresh": "^3.3.1",
|
|
141
|
+
"imurmurhash": "^0.1.4",
|
|
142
|
+
"is-extglob": "^2.1.1",
|
|
143
|
+
"is-glob": "^4.0.3",
|
|
144
|
+
"is-number": "^7.0.0",
|
|
145
|
+
"is-potential-custom-element-name": "^1.0.1",
|
|
146
|
+
"isexe": "^2.0.0",
|
|
147
|
+
"jiti": "^1.21.7",
|
|
148
|
+
"joycon": "^3.1.1",
|
|
149
|
+
"js-tokens": "^4.0.0",
|
|
150
|
+
"js-yaml": "^4.1.1",
|
|
151
|
+
"json-buffer": "^3.0.1",
|
|
152
|
+
"json-schema-traverse": "^0.4.1",
|
|
153
|
+
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
154
|
+
"keyv": "^4.5.4",
|
|
155
|
+
"levn": "^0.4.1",
|
|
156
|
+
"lines-and-columns": "^1.2.4",
|
|
157
|
+
"listr2": "^8.3.3",
|
|
158
|
+
"load-tsconfig": "^0.2.5",
|
|
159
|
+
"locate-path": "^6.0.0",
|
|
160
|
+
"lodash.merge": "^4.6.2",
|
|
161
|
+
"log-update": "^6.1.0",
|
|
162
|
+
"loupe": "^3.2.1",
|
|
163
|
+
"lz-string": "^1.5.0",
|
|
164
|
+
"merge-stream": "^2.0.0",
|
|
165
|
+
"micromatch": "^4.0.8",
|
|
166
|
+
"mimic-function": "^5.0.1",
|
|
167
|
+
"minimatch": "^3.1.5",
|
|
168
|
+
"minipass": "^7.1.3",
|
|
169
|
+
"mlly": "^1.8.2",
|
|
170
|
+
"ms": "^2.1.3",
|
|
171
|
+
"mz": "^2.7.0",
|
|
172
|
+
"nanoid": "^3.3.12",
|
|
173
|
+
"natural-compare": "^1.4.0",
|
|
174
|
+
"nwsapi": "^2.2.23",
|
|
175
|
+
"object-assign": "^4.1.1",
|
|
176
|
+
"optionator": "^0.9.4",
|
|
177
|
+
"p-limit": "^3.1.0",
|
|
178
|
+
"p-locate": "^5.0.0",
|
|
179
|
+
"package-json-from-dist": "^1.0.1",
|
|
180
|
+
"parent-module": "^1.0.1",
|
|
181
|
+
"parse5": "^7.3.0",
|
|
182
|
+
"path-exists": "^4.0.0",
|
|
183
|
+
"path-key": "^3.1.1",
|
|
184
|
+
"path-scurry": "^2.0.2",
|
|
185
|
+
"pathe": "^2.0.3",
|
|
186
|
+
"pathval": "^2.0.1",
|
|
187
|
+
"picocolors": "^1.1.1",
|
|
188
|
+
"picomatch": "^2.3.2",
|
|
189
|
+
"pidtree": "^0.6.0",
|
|
190
|
+
"pirates": "^4.0.7",
|
|
191
|
+
"pkg-types": "^1.3.1",
|
|
192
|
+
"postcss": "^8.5.15",
|
|
193
|
+
"prelude-ls": "^1.2.1",
|
|
194
|
+
"pretty-format": "^27.5.1",
|
|
195
|
+
"punycode": "^2.3.1",
|
|
196
|
+
"react-is": "^17.0.2",
|
|
197
|
+
"resolve-from": "^4.0.0",
|
|
198
|
+
"restore-cursor": "^5.1.0",
|
|
199
|
+
"rfdc": "^1.4.1",
|
|
200
|
+
"rrweb-cssom": "^0.8.0",
|
|
201
|
+
"safer-buffer": "^2.1.2",
|
|
202
|
+
"saxes": "^6.0.0",
|
|
203
|
+
"shebang-command": "^2.0.0",
|
|
204
|
+
"shebang-regex": "^3.0.0",
|
|
205
|
+
"siginfo": "^2.0.0",
|
|
206
|
+
"slice-ansi": "^5.0.0",
|
|
207
|
+
"source-map": "^0.7.6",
|
|
208
|
+
"source-map-js": "^1.2.1",
|
|
209
|
+
"source-map-support": "^0.5.21",
|
|
210
|
+
"stackback": "^0.0.2",
|
|
211
|
+
"std-env": "^3.10.0",
|
|
212
|
+
"string-argv": "^0.3.2",
|
|
213
|
+
"strip-json-comments": "^3.1.1",
|
|
214
|
+
"strip-literal": "^3.1.0",
|
|
215
|
+
"sucrase": "^3.35.1",
|
|
216
|
+
"supports-color": "^7.2.0",
|
|
217
|
+
"symbol-tree": "^3.2.4",
|
|
218
|
+
"terser": "^5.47.1",
|
|
219
|
+
"thenify": "^3.3.1",
|
|
220
|
+
"thenify-all": "^1.6.0",
|
|
221
|
+
"tinybench": "^2.9.0",
|
|
222
|
+
"tinyexec": "^0.3.2",
|
|
223
|
+
"tinyglobby": "^0.2.16",
|
|
224
|
+
"tinypool": "^1.1.1",
|
|
225
|
+
"tinyrainbow": "^2.0.0",
|
|
226
|
+
"tinyspy": "^4.0.4",
|
|
227
|
+
"tldts": "^6.1.86",
|
|
228
|
+
"tldts-core": "^6.1.86",
|
|
229
|
+
"to-regex-range": "^5.0.1",
|
|
230
|
+
"tough-cookie": "^5.1.2",
|
|
231
|
+
"tr46": "^5.1.1",
|
|
232
|
+
"tree-kill": "^1.2.2",
|
|
233
|
+
"ts-interface-checker": "^0.1.13",
|
|
234
|
+
"type-check": "^0.4.0",
|
|
235
|
+
"typescript": "^4.9.5",
|
|
236
|
+
"ufo": "^1.6.4",
|
|
237
|
+
"undici-types": "^7.24.6",
|
|
238
|
+
"uri-js": "^4.4.1",
|
|
239
|
+
"vite-node": "^3.2.4",
|
|
240
|
+
"w3c-xmlserializer": "^5.0.0",
|
|
241
|
+
"webidl-conversions": "^7.0.0",
|
|
242
|
+
"whatwg-encoding": "^3.1.1",
|
|
243
|
+
"whatwg-mimetype": "^4.0.0",
|
|
244
|
+
"whatwg-url": "^14.2.0",
|
|
245
|
+
"which": "^2.0.2",
|
|
246
|
+
"why-is-node-running": "^2.3.0",
|
|
247
|
+
"word-wrap": "^1.2.5",
|
|
248
|
+
"ws": "^8.21.0",
|
|
249
|
+
"xml-name-validator": "^5.0.0",
|
|
250
|
+
"xmlchars": "^2.2.0",
|
|
251
|
+
"yocto-queue": "^0.1.0"
|
|
77
252
|
}
|
|
78
253
|
}
|