@antelopejs/dms-saas 0.1.2 → 0.1.4
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/index.js
CHANGED
|
@@ -82,6 +82,7 @@ async function construct(config) {
|
|
|
82
82
|
sourcePath: node_path_1.default.join(__dirname, "../frontend-vue"),
|
|
83
83
|
renderer: { name: "vue", version: "3" },
|
|
84
84
|
priority: 0,
|
|
85
|
+
authEstablishEndpoints: ["/api/saas/register/finalize"],
|
|
85
86
|
options: {
|
|
86
87
|
dmsSaas: {
|
|
87
88
|
stripePublishableKey: config.stripe.publishableKey,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,8BAmCC;AAED,sBAGC;AAED,oBAWC;AAzFD,0DAA6B;AAC7B,+DAAgE;AAChE,gEAA6D;AAC7D,yDAAmE;AACnE,yFAA2E;AAC3E,6GAA+F;AAC/F,qFAAuE;AACvE,gHAAkG;AAElG,iCAGgB;AAChB,6CAGsB;AACtB,qCAA4D;AAC5D,mCAA4C;AAC5C,mCAAoD;AACpD,0FAA4E;AAC5E,8GAAgG;AAChG,sFAAwE;AACxE,iHAAmG;AACnG,mCAAgD;AAChD,mCAA4C;AAC5C,qCAA4C;AAG5C,sBAAoB;AACpB,gBAAc;AACd,2BAAyB;AACzB,oBAAkB;AAElB,IAAI,mBAAmB,GAAoB,EAAE,CAAC;AAEvC,KAAK,UAAU,SAAS,CAAC,MAAqB;IACnD,IAAA,yBAAgB,EAAC,MAAM,CAAC,CAAC;IACzB,MAAM,IAAA,uBAAc,GAAE,CAAC;IACv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AK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,IAAI,QAAQ,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;YACnC,iBAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IACD,mBAAmB,GAAG,EAAE,CAAC;IACzB,IAAA,sCAAyB,GAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
* on its behalf, and the loader writes its session cookie from the token pair
|
|
13
13
|
* the API returns. No access or refresh token is ever handed to the page.
|
|
14
14
|
*
|
|
15
|
-
* The
|
|
16
|
-
* `
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* The finalize endpoint is declared by the module itself, through
|
|
16
|
+
* `authEstablishEndpoints` on its `AddFrontendModule` registration: the DMS
|
|
17
|
+
* carries it in the frontend manifest and the loader writes it into the
|
|
18
|
+
* workspace, so a standard deployment needs no configuration. Any endpoint
|
|
19
|
+
* neither declared nor named in the frontend server's
|
|
20
|
+
* `DMS_AUTH_ESTABLISH_ENDPOINTS` is answered 403 and never called.
|
|
19
21
|
*/
|
|
20
22
|
|
|
21
23
|
/** Loader route that opens a session from a backend-issued token pair. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-saas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@antelopejs/dms": ">=0.
|
|
31
|
+
"@antelopejs/dms": ">=0.3.2 <1.0.0",
|
|
32
32
|
"@antelopejs/interface-api": ">=0.0.13 <1.0.0",
|
|
33
33
|
"@antelopejs/interface-api-util": ">=0.1.2 <1.0.0",
|
|
34
34
|
"@antelopejs/interface-core": ">=0.0.13 <1.0.0",
|
|
35
35
|
"@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
|
|
36
36
|
"@antelopejs/interface-database": ">=0.1.7 <1.0.0",
|
|
37
37
|
"@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
|
|
38
|
-
"@antelopejs/interface-dms": ">=0.0.
|
|
38
|
+
"@antelopejs/interface-dms": ">=0.0.4 <1.0.0",
|
|
39
39
|
"@antelopejs/interface-dms-saas": ">=0.0.2 <1.0.0",
|
|
40
40
|
"@antelopejs/interface-file-storage": ">=0.1.3 <1.0.0",
|
|
41
41
|
"node-cron": "^4.2.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"zod": "^3.24.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@antelopejs/core": "
|
|
46
|
+
"@antelopejs/core": ">=1.7.0 <2",
|
|
47
47
|
"@antelopejs/dms-frontend": ">=0.0.1 <1.0.0",
|
|
48
48
|
"@antelopejs/file-storage-local": "0.1.4",
|
|
49
49
|
"@antelopejs/mongodb": "1.3.0",
|