@getuserfeedback/adapters 0.5.141 → 0.5.149
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
CHANGED
|
@@ -82,11 +82,11 @@ import {
|
|
|
82
82
|
} from "@getuserfeedback/adapters/gtm";
|
|
83
83
|
|
|
84
84
|
const artifact = buildGtmTemplateArtifact({
|
|
85
|
-
loaderScriptBaseUrl: "https://cdn.getuserfeedback.com/widget/loader/
|
|
85
|
+
loaderScriptBaseUrl: "https://cdn.getuserfeedback.com/widget/loader/v2",
|
|
86
86
|
});
|
|
87
87
|
|
|
88
88
|
const templateFile = buildGtmTemplateFileSource({
|
|
89
|
-
loaderScriptBaseUrl: "https://cdn.getuserfeedback.com/widget/loader/
|
|
89
|
+
loaderScriptBaseUrl: "https://cdn.getuserfeedback.com/widget/loader/v2",
|
|
90
90
|
});
|
|
91
91
|
```
|
|
92
92
|
|
|
@@ -146,7 +146,7 @@ export type GtmTemplateGenerationOptions = {
|
|
|
146
146
|
displayName?: string;
|
|
147
147
|
description?: string;
|
|
148
148
|
};
|
|
149
|
-
export declare const DEFAULT_GTM_LOADER_SCRIPT_BASE_URL = "https://cdn.getuserfeedback.com/widget/loader/
|
|
149
|
+
export declare const DEFAULT_GTM_LOADER_SCRIPT_BASE_URL = "https://cdn.getuserfeedback.com/widget/loader/v2";
|
|
150
150
|
export declare function buildGtmTemplateParameters(_options?: GtmTemplateGenerationOptions): TemplateParameter[];
|
|
151
151
|
export declare function buildGtmRuntimeSource(input?: GtmTemplateGenerationOptions): string;
|
|
152
152
|
export declare function buildGtmPermissions(input?: GtmTemplateGenerationOptions): GtmTemplatePermission[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_AUTO_DETECT_COLOR_SCHEME_ATTRS } from "@getuserfeedback/protocol";
|
|
2
2
|
import { GTM_CONSENT_TYPES } from "./core.js";
|
|
3
3
|
import { BUILD_GTM_IDENTIFY_COMMAND_SOURCE, GTM_QUEUE_CLIENT_META, RESOLVE_GTM_THEME_INPUT_FROM_TEMPLATE_DATA_SOURCE, } from "./runtime-model.js";
|
|
4
|
-
export const DEFAULT_GTM_LOADER_SCRIPT_BASE_URL = "https://cdn.getuserfeedback.com/widget/loader/
|
|
4
|
+
export const DEFAULT_GTM_LOADER_SCRIPT_BASE_URL = "https://cdn.getuserfeedback.com/widget/loader/v2";
|
|
5
5
|
const GTM_TEMPLATE_VERSION = 1;
|
|
6
6
|
const GTM_TEMPLATE_DEFAULT_DISPLAY_NAME = "getuserfeedback Widget";
|
|
7
7
|
const GTM_TEMPLATE_DEFAULT_DESCRIPTION = "Load the getuserfeedback widget with Google Tag Manager, including color scheme settings and user identity.";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getuserfeedback/adapters",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.149",
|
|
4
4
|
"description": "getuserfeedback integration adapters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"getuserfeedback",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"lint": "biome check .",
|
|
34
34
|
"build": "bun ../../scripts/clean-build-output.ts dist tsconfig.tsbuildinfo && tsc -b tsconfig.json",
|
|
35
35
|
"generate:gtm-template": "bun scripts/generate-gtm-template.ts",
|
|
36
|
-
"generate:gtm-template:sandbox-hybrid": "GTM_TEMPLATE_LOADER_SCRIPT_BASE_URL=https://cdn.getuserfeedback.com/widget/loader/
|
|
37
|
-
"generate:gtm-template:sandbox": "GTM_TEMPLATE_LOADER_SCRIPT_BASE_URL=http://cdn.getuserfeedback.lvh.me:3100/widget/loader/
|
|
36
|
+
"generate:gtm-template:sandbox-hybrid": "GTM_TEMPLATE_LOADER_SCRIPT_BASE_URL=https://cdn.getuserfeedback.com/widget/loader/v2 GTM_TEMPLATE_CORE_URL=http://cdn.getuserfeedback.lvh.me:3100/widget/core/v2/core.html GTM_TEMPLATE_API_URL=http://widget.getuserfeedback.lvh.me:3200/v1 bun scripts/generate-gtm-template.ts",
|
|
37
|
+
"generate:gtm-template:sandbox": "GTM_TEMPLATE_LOADER_SCRIPT_BASE_URL=http://cdn.getuserfeedback.lvh.me:3100/widget/loader/v2 GTM_TEMPLATE_CORE_URL=http://cdn.getuserfeedback.lvh.me:3100/widget/core/v2/core.html GTM_TEMPLATE_API_URL=http://widget.getuserfeedback.lvh.me:3200/v1 bun scripts/generate-gtm-template.ts",
|
|
38
38
|
"typecheck": "tsc -b tsconfig.json",
|
|
39
39
|
"test": "bun test --dots",
|
|
40
40
|
"test:changed": "bun test --changed=${TEST_CHANGED_BASE:-HEAD} --pass-with-no-tests --dots",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"publish:npm": "node ../../scripts/publish-package.cjs . --expect-dependency @getuserfeedback/protocol:../protocol/package.json"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@getuserfeedback/protocol": "^3.
|
|
46
|
+
"@getuserfeedback/protocol": "^3.31.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"typescript": "^5.8.3"
|