@xyo-network/react-advertising 4.4.5 → 4.4.6
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/dist/browser/index.d.ts +9 -70
- package/package.json +9 -9
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
2
|
-
import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
|
|
3
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
4
|
-
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
5
1
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
6
2
|
import { PayloadWithOptionalSources } from '@xyo-network/payload-model';
|
|
7
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
8
3
|
import { Utm } from '@xyo-network/advertising-payload-plugins';
|
|
4
|
+
import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
|
|
5
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
|
+
import * as _xyo_network_archivist_storage from '@xyo-network/archivist-storage';
|
|
9
7
|
import { StorageArchivist } from '@xyo-network/archivist-storage';
|
|
8
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
9
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
10
10
|
|
|
11
11
|
declare const useCaptureUtmLocation: (removeAfterCapture?: boolean) => {
|
|
12
|
-
utmPayload:
|
|
13
|
-
schema: "network.xyo.advertising.utm";
|
|
14
|
-
utm_campaign?: string | undefined;
|
|
15
|
-
utm_content?: string | undefined;
|
|
16
|
-
utm_medium?: string | undefined;
|
|
17
|
-
utm_source?: string | undefined;
|
|
18
|
-
utm_term?: string | undefined;
|
|
19
|
-
}> | null;
|
|
12
|
+
utmPayload: _xyo_network_payload_model.Payload<Utm, void> | null;
|
|
20
13
|
error: Error | undefined;
|
|
21
14
|
};
|
|
22
15
|
|
|
@@ -27,65 +20,11 @@ declare const UtmStorageArchivist: () => Promise<StorageArchivist<_xylabs_object
|
|
|
27
20
|
addToResolvers?: boolean;
|
|
28
21
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
29
22
|
allowNameResolution?: boolean;
|
|
30
|
-
config:
|
|
31
|
-
schema: _xyo_network_payload_model.Schema;
|
|
32
|
-
readonly archiving?: {
|
|
33
|
-
readonly archivists?: string[] | undefined;
|
|
34
|
-
readonly queries?: string[] | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly allowedQueries?: string[] | undefined;
|
|
37
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
38
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
39
|
-
readonly labels?: {
|
|
40
|
-
[x: string]: string | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
43
|
-
readonly paging?: {
|
|
44
|
-
[x: string]: {
|
|
45
|
-
size?: number | undefined;
|
|
46
|
-
};
|
|
47
|
-
} | undefined;
|
|
48
|
-
readonly retry?: {
|
|
49
|
-
backoff?: number | undefined;
|
|
50
|
-
interval?: number | undefined;
|
|
51
|
-
retries?: number | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
readonly security?: {
|
|
54
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
55
|
-
readonly allowed?: {
|
|
56
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
57
|
-
} | undefined;
|
|
58
|
-
readonly disallowed?: {
|
|
59
|
-
[x: string]: Lowercase<string>[];
|
|
60
|
-
} | undefined;
|
|
61
|
-
} | undefined;
|
|
62
|
-
readonly sign?: boolean | undefined;
|
|
63
|
-
readonly storeQueries?: boolean | undefined;
|
|
64
|
-
readonly timestamp?: boolean | undefined;
|
|
65
|
-
parents?: {
|
|
66
|
-
commit?: string[] | undefined;
|
|
67
|
-
read?: string[] | undefined;
|
|
68
|
-
write?: string[] | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
requireAllParents?: boolean | undefined;
|
|
71
|
-
storage?: {
|
|
72
|
-
indexes?: {
|
|
73
|
-
key: {
|
|
74
|
-
[x: string]: _xyo_network_archivist_model.IndexDirection;
|
|
75
|
-
};
|
|
76
|
-
multiEntry?: boolean | undefined;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
unique?: boolean | undefined;
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
storeParentReads?: boolean | undefined;
|
|
82
|
-
maxEntries?: number | undefined;
|
|
83
|
-
maxEntrySize?: number | undefined;
|
|
84
|
-
namespace?: string | undefined;
|
|
85
|
-
type?: "local" | "session" | "page" | undefined;
|
|
86
|
-
}>;
|
|
23
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_storage.StorageArchivistConfig>;
|
|
87
24
|
ephemeralQueryAccountEnabled?: boolean;
|
|
88
25
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
26
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
27
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
89
28
|
} & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData>>;
|
|
90
29
|
declare const LatestUtmPayload: () => Promise<PayloadWithOptionalSources<Utm> | undefined>;
|
|
91
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-advertising",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.6",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@xylabs/react-promise": "^5.3.23",
|
|
47
|
-
"@xyo-network/advertising-payload-plugins": "^3.4.
|
|
48
|
-
"@xyo-network/archivist-storage": "^3.9.
|
|
49
|
-
"@xyo-network/payload-model": "^3.9.
|
|
47
|
+
"@xyo-network/advertising-payload-plugins": "^3.4.2",
|
|
48
|
+
"@xyo-network/archivist-storage": "^3.9.17",
|
|
49
|
+
"@xyo-network/payload-model": "^3.9.17"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@mui/material": "^6.4.
|
|
53
|
-
"@storybook/react": "^8.
|
|
54
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
55
|
-
"@xylabs/tsconfig-react": "^5.0.
|
|
52
|
+
"@mui/material": "^6.4.5",
|
|
53
|
+
"@storybook/react": "^8.6.0",
|
|
54
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.25",
|
|
55
|
+
"@xylabs/tsconfig-react": "^5.0.25",
|
|
56
56
|
"react": "^18.3.1",
|
|
57
57
|
"react-dom": "^18.3.1",
|
|
58
|
-
"storybook": "^8.
|
|
58
|
+
"storybook": "^8.6.0",
|
|
59
59
|
"typescript": "^5.7.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|