@monad-inc/embed 0.1.0
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/CHANGELOG.md +21 -0
- package/LICENSE +201 -0
- package/NOTICE +5 -0
- package/README.md +160 -0
- package/USAGE.md +173 -0
- package/dist/connect/index.cjs +271 -0
- package/dist/connect/index.cjs.map +1 -0
- package/dist/connect/index.d.cts +373 -0
- package/dist/connect/index.d.ts +373 -0
- package/dist/connect/index.js +233 -0
- package/dist/connect/index.js.map +1 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@monad-inc/embed",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "SDK for embedding Monad's UI in other apps via a secure cross-origin iframe. The connect module (createConnectorFrame()) renders the connector-config form inside a Monad-hosted iframe, so the host's JavaScript never sees credential material — only a connector id reference comes back. Zero runtime dependencies.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Monad Inc.",
|
|
7
|
+
"homepage": "https://github.com/monad-inc/embed/tree/main/packages/embed",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/monad-inc/embed.git",
|
|
11
|
+
"directory": "packages/embed"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/monad-inc/embed/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"monad",
|
|
18
|
+
"connector",
|
|
19
|
+
"embed",
|
|
20
|
+
"white-label"
|
|
21
|
+
],
|
|
22
|
+
"type": "module",
|
|
23
|
+
"exports": {
|
|
24
|
+
"./connect": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./dist/connect/index.d.ts",
|
|
27
|
+
"default": "./dist/connect/index.js"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./dist/connect/index.d.cts",
|
|
31
|
+
"default": "./dist/connect/index.cjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
"sideEffects": false,
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md",
|
|
40
|
+
"USAGE.md",
|
|
41
|
+
"CHANGELOG.md",
|
|
42
|
+
"LICENSE",
|
|
43
|
+
"NOTICE"
|
|
44
|
+
],
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public",
|
|
50
|
+
"registry": "https://registry.npmjs.org/",
|
|
51
|
+
"provenance": true
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^22.9.0",
|
|
55
|
+
"jsdom": "^25.0.1",
|
|
56
|
+
"tsup": "^8.3.5",
|
|
57
|
+
"typescript": "^5.6.3",
|
|
58
|
+
"vitest": "^2.1.5"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsup",
|
|
62
|
+
"build:watch": "tsup --watch",
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"test:watch": "vitest"
|
|
66
|
+
}
|
|
67
|
+
}
|