@passflow/core 0.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 +1087 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2149 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/api/app.d.ts +8 -0
- package/dist/lib/api/app.d.ts.map +1 -0
- package/dist/lib/api/auth.d.ts +23 -0
- package/dist/lib/api/auth.d.ts.map +1 -0
- package/dist/lib/api/axios-client.d.ts +36 -0
- package/dist/lib/api/axios-client.d.ts.map +1 -0
- package/dist/lib/api/index.d.ts +8 -0
- package/dist/lib/api/index.d.ts.map +1 -0
- package/dist/lib/api/invitation.d.ts +77 -0
- package/dist/lib/api/invitation.d.ts.map +1 -0
- package/dist/lib/api/model.d.ts +459 -0
- package/dist/lib/api/model.d.ts.map +1 -0
- package/dist/lib/api/setting.d.ts +10 -0
- package/dist/lib/api/setting.d.ts.map +1 -0
- package/dist/lib/api/tenant.d.ts +213 -0
- package/dist/lib/api/tenant.d.ts.map +1 -0
- package/dist/lib/api/user.d.ts +19 -0
- package/dist/lib/api/user.d.ts.map +1 -0
- package/dist/lib/constants/index.d.ts +8 -0
- package/dist/lib/constants/index.d.ts.map +1 -0
- package/dist/lib/device-service/index.d.ts +7 -0
- package/dist/lib/device-service/index.d.ts.map +1 -0
- package/dist/lib/index.d.ts +8 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/passflow.d.ts +115 -0
- package/dist/lib/passflow.d.ts.map +1 -0
- package/dist/lib/services/auth-service.d.ts +67 -0
- package/dist/lib/services/auth-service.d.ts.map +1 -0
- package/dist/lib/services/index.d.ts +7 -0
- package/dist/lib/services/index.d.ts.map +1 -0
- package/dist/lib/services/invitation-service.d.ts +44 -0
- package/dist/lib/services/invitation-service.d.ts.map +1 -0
- package/dist/lib/services/logger.d.ts +24 -0
- package/dist/lib/services/logger.d.ts.map +1 -0
- package/dist/lib/services/tenant-service.d.ts +200 -0
- package/dist/lib/services/tenant-service.d.ts.map +1 -0
- package/dist/lib/services/tenant-user-membership.d.ts +76 -0
- package/dist/lib/services/tenant-user-membership.d.ts.map +1 -0
- package/dist/lib/services/token-cache-service.d.ts +26 -0
- package/dist/lib/services/token-cache-service.d.ts.map +1 -0
- package/dist/lib/services/user-service.d.ts +39 -0
- package/dist/lib/services/user-service.d.ts.map +1 -0
- package/dist/lib/storage-manager/index.d.ts +37 -0
- package/dist/lib/storage-manager/index.d.ts.map +1 -0
- package/dist/lib/store.d.ts +89 -0
- package/dist/lib/store.d.ts.map +1 -0
- package/dist/lib/token-service/index.d.ts +4 -0
- package/dist/lib/token-service/index.d.ts.map +1 -0
- package/dist/lib/token-service/membership.d.ts +37 -0
- package/dist/lib/token-service/membership.d.ts.map +1 -0
- package/dist/lib/token-service/service.d.ts +35 -0
- package/dist/lib/token-service/service.d.ts.map +1 -0
- package/dist/lib/token-service/token.d.ts +34 -0
- package/dist/lib/token-service/token.d.ts.map +1 -0
- package/dist/lib/types/index.d.ts +22 -0
- package/dist/lib/types/index.d.ts.map +1 -0
- package/dist/tests/storage-manager/fake-storage.d.ts +7 -0
- package/dist/tests/storage-manager/fake-storage.d.ts.map +1 -0
- package/dist/tests/storage-manager/storage-manager.test.d.ts +2 -0
- package/dist/tests/storage-manager/storage-manager.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +81 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fake-storage.d.ts","sourceRoot":"","sources":["../../../tests/storage-manager/fake-storage.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAW;IACtB,IAAI,sBAA6B;IAEjC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAIzC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAInC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-manager.test.d.ts","sourceRoot":"","sources":["../../../tests/storage-manager/storage-manager.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../lib/index.ts","../lib/passflow.ts","../lib/store.ts","../lib/api/app.ts","../lib/api/auth.ts","../lib/api/axios-client.ts","../lib/api/index.ts","../lib/api/invitation.ts","../lib/api/model.ts","../lib/api/setting.ts","../lib/api/tenant.ts","../lib/api/user.ts","../lib/constants/index.ts","../lib/device-service/index.ts","../lib/services/auth-service.ts","../lib/services/index.ts","../lib/services/invitation-service.ts","../lib/services/logger.ts","../lib/services/tenant-service.ts","../lib/services/tenant-user-membership.ts","../lib/services/token-cache-service.ts","../lib/services/user-service.ts","../lib/storage-manager/index.ts","../lib/token-service/index.ts","../lib/token-service/membership.ts","../lib/token-service/service.ts","../lib/token-service/token.ts","../lib/types/index.ts","../tests/storage-manager/fake-storage.ts","../tests/storage-manager/storage-manager.test.ts"],"version":"5.8.3"}
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@passflow/core",
|
|
3
|
+
"description": "Passflow JS SDK",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/lib/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/lib/index.d.ts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/lib/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": ["dist"],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "pnpm vite",
|
|
24
|
+
"watch": "vite build --watch",
|
|
25
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
26
|
+
"build:dts": "tsc --build tsconfig.json",
|
|
27
|
+
"build": "pnpm clean && pnpm vite build && pnpm build:dts",
|
|
28
|
+
"test": "vitest run --reporter=default",
|
|
29
|
+
"test:services": "vitest run tests/services",
|
|
30
|
+
"test:coverage": "vitest run --coverage",
|
|
31
|
+
"test:ui": "vitest --ui",
|
|
32
|
+
"lint": "biome check .",
|
|
33
|
+
"lint:fix": "biome check . --apply",
|
|
34
|
+
"format": "biome format . --write",
|
|
35
|
+
"lint:format:fix": "biome check . --apply && biome format . --write",
|
|
36
|
+
"ci": "biome ci ."
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@babel/core": "^7.26.10",
|
|
40
|
+
"@biomejs/biome": "1.9.4",
|
|
41
|
+
"@types/sinon": "^17.0.4",
|
|
42
|
+
"@types/uuid": "^10.0.0",
|
|
43
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
44
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
45
|
+
"@vitest/ui": "^3.1.1",
|
|
46
|
+
"sinon": "^19.0.5",
|
|
47
|
+
"typescript": "^5.8.3",
|
|
48
|
+
"vite": "^6.2.5",
|
|
49
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
50
|
+
"vitest": "^3.1.1"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@simplewebauthn/browser": "^13.1.0",
|
|
54
|
+
"@simplewebauthn/types": "^12.0.0",
|
|
55
|
+
"axios": "^1.8.4",
|
|
56
|
+
"dayjs": "^1.11.13",
|
|
57
|
+
"uuid": "^11.1.0"
|
|
58
|
+
},
|
|
59
|
+
"authors": [
|
|
60
|
+
{
|
|
61
|
+
"name": "Ivan Holiak",
|
|
62
|
+
"url": "https://github.com/IvanHoliak"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "Nikita Kysil",
|
|
66
|
+
"url": "https://github.com/mag-nikita-ks"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"license": "MIT",
|
|
70
|
+
"bugs": {
|
|
71
|
+
"url": "https://github.com/MadAppGang/passflow-js-sdk/issues"
|
|
72
|
+
},
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/MadAppGang/passflow-js-sdk.git"
|
|
76
|
+
},
|
|
77
|
+
"pnpm": {
|
|
78
|
+
"overrides": {}
|
|
79
|
+
},
|
|
80
|
+
"packageManager": "pnpm@10.8.0"
|
|
81
|
+
}
|