@privacykit/web 1.2.1 → 1.2.2
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/index.d.ts +0 -6
- package/package.json +3 -2
- package/privacykit.d.ts +1 -1
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privacykit/web",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Developer-friendly GDPR consent management with real enforcement.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"
|
|
30
|
+
"fix-type": "sed -i '' 's/PrivacyKit?: PrivacyKitGlobalApi/PrivacyKit: PrivacyKitGlobalApi/' ./privacykit.d.ts",
|
|
31
|
+
"sync-types": "cp ../privacykit-sdk/public/privacykit.d.ts ./privacykit.d.ts && npm run fix-type",
|
|
31
32
|
"build": "npx tsc",
|
|
32
33
|
"publish:patch": "npm run build && npm login && npm version patch && npm publish",
|
|
33
34
|
"publish:minor": "npm run build && npm login && npm version minor && npm publish"
|