@pontive/pontkit-core 1.1.4 → 1.3.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/README.md +5 -6
- package/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/components/widgets/index.d.ts +1 -0
- package/dist/components/widgets/pont-invitation/pont-invitation.d.ts +35 -0
- package/dist/element-tag-map.d.ts +2 -0
- package/dist/index.js +420 -417
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3303 -3226
- package/dist/index.mjs.map +1 -1
- package/dist/service/http/fetch.d.ts +3 -3
- package/dist/service/http/user/index.d.ts +1 -1
- package/dist/types/core/index.d.ts +11 -8
- package/dist/types/service/http/member/index.d.ts +1 -1
- package/dist/types/service/http/user/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,9 +18,8 @@ dependencies, so installing this does not drag one in.
|
|
|
18
18
|
```js
|
|
19
19
|
// `env` is a property, not an attribute — it is an object.
|
|
20
20
|
document.querySelector("pont-provider").env = {
|
|
21
|
-
domain: "
|
|
21
|
+
domain: "my-app.auth.us.pontive.app", // or "/__auth" when proxied
|
|
22
22
|
appId: "app_...",
|
|
23
|
-
projectId: "proj_...",
|
|
24
23
|
apiBaseUrl: "https://api...",
|
|
25
24
|
};
|
|
26
25
|
```
|
|
@@ -46,15 +45,15 @@ prefixed too — those class names land in the host application's stylesheet.
|
|
|
46
45
|
Not bundled by the app. `@pontive/pontkit-loader` fetches this package at
|
|
47
46
|
runtime from a URL the platform decides:
|
|
48
47
|
|
|
49
|
-
1. The
|
|
48
|
+
1. The instance's auth server names an **exact** release and its SRI hashes
|
|
50
49
|
(`GET /auth/v1/runtime-config`). This is how a canary or a hot fix reaches a
|
|
51
50
|
deployed app with nothing rebuilt.
|
|
52
51
|
2. Failing that, the exact release the binding was built and tested against.
|
|
53
52
|
|
|
54
53
|
Never a range and never `latest` — an exact version is immutable on the CDN,
|
|
55
54
|
cacheable forever, and the only form that admits an integrity hash. Which
|
|
56
|
-
release
|
|
57
|
-
(`deployment_core_elements`, with a per-
|
|
55
|
+
release an instance serves is administered in `branding-svc`
|
|
56
|
+
(`deployment_core_elements`, with a per-instance override for canaries).
|
|
58
57
|
|
|
59
58
|
Install it directly only to generate bindings or to run the catalog checks; a
|
|
60
59
|
front end takes `@pontive/pontkit-react` and lets the loader do the rest.
|
|
@@ -138,6 +137,6 @@ it is simply never generated, and the element quietly loses its styling.
|
|
|
138
137
|
|---|---|
|
|
139
138
|
| [`pontive-oidc-client`](https://github.com/revotech-group/pontive-oidc-client) | `@pontive/oidc-client` — the auth engine this wraps |
|
|
140
139
|
| [`pontkit`](https://github.com/revotech-group/pontkit) | The loader and the framework bindings |
|
|
141
|
-
| `branding-svc` | Curates the catalog, compiles brand tokens, decides which release
|
|
140
|
+
| `branding-svc` | Curates the catalog, compiles brand tokens, decides which release an instance serves |
|
|
142
141
|
| `identity-svc` | Serves the flow definitions these elements render |
|
|
143
142
|
|
package/catalog.json
CHANGED