@pelican-identity/vanilla 1.0.7 → 1.0.9
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 +0 -11
- package/dist/index.min.js +354 -30
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +354 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,11 +9,6 @@ The Vanilla SDK provides a framework-agnostic way to integrate Pelican authentic
|
|
|
9
9
|
Ideal for projects without a build step. Includes the UI and logic in a single file.
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
|
-
<link
|
|
13
|
-
rel="stylesheet"
|
|
14
|
-
href="https://cdn.jsdelivr.net/npm/@pelican-identity/vanilla@1.0.6/dist/index.css"
|
|
15
|
-
/>
|
|
16
|
-
|
|
17
12
|
<script src="https://cdn.jsdelivr.net/npm/@pelican-identity/vanilla@1.0.6/dist/index.min.js"></script>
|
|
18
13
|
|
|
19
14
|
<div id="pelican-auth-root"></div>
|
|
@@ -40,7 +35,6 @@ npm install @pelican-identity/vanilla
|
|
|
40
35
|
|
|
41
36
|
```typescript
|
|
42
37
|
import { createPelicanAuth } from "@pelican-identity/vanilla";
|
|
43
|
-
import "@pelican-identity/vanilla/dist/index.css";
|
|
44
38
|
|
|
45
39
|
const cleanup = createPelicanAuth("container-id", {
|
|
46
40
|
publicKey: "...",
|
|
@@ -202,9 +196,4 @@ interface IdentityResult {
|
|
|
202
196
|
**Cause:** The engine might be in `initializing` state or the domain isn't whitelisted.
|
|
203
197
|
**Fix:** Check your Pelican Dashboard and ensure your current domain (including port if applicable) is added to the project whitelist.
|
|
204
198
|
|
|
205
|
-
### Styles not applying
|
|
206
|
-
|
|
207
|
-
**Cause:** The CSS file is missing.
|
|
208
|
-
**Fix:** If using NPM, ensure you import `@pelican-identity/vanilla/dist/index.css`. If using the CDN `.min.js` version with `injectStyle: true`, this should be automatic.
|
|
209
|
-
|
|
210
199
|
---
|