@uniformdev/mesh-sdk 14.1.1 → 14.1.2-alpha.87
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/index.d.ts +78 -27
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,82 @@
|
|
|
1
|
+
interface ContextData {
|
|
2
|
+
locationKey: string;
|
|
3
|
+
locationValue: any;
|
|
4
|
+
locationMetadata: any;
|
|
5
|
+
uniformApiVersion: string;
|
|
6
|
+
dialogContext?: DialogContext;
|
|
7
|
+
}
|
|
8
|
+
interface DialogContext {
|
|
9
|
+
dialogId: string;
|
|
10
|
+
contentHeight?: CSSHeight;
|
|
11
|
+
}
|
|
12
|
+
interface DialogResponseHandlers {
|
|
13
|
+
[dialogId: string]: DialogResponseHandler;
|
|
14
|
+
}
|
|
15
|
+
interface DialogResponseHandler {
|
|
16
|
+
resolve: (value: Pick<DialogResponseData, 'value' | 'dialogId'>) => void;
|
|
17
|
+
reject: (reason?: unknown) => void;
|
|
18
|
+
}
|
|
19
|
+
interface DialogResponseData {
|
|
20
|
+
value?: unknown;
|
|
21
|
+
dialogId: string;
|
|
22
|
+
error?: string;
|
|
23
|
+
}
|
|
24
|
+
declare type DialogType = 'location' | 'confirm';
|
|
25
|
+
interface DialogOptions {
|
|
26
|
+
/**
|
|
27
|
+
* By default, dialogs will be closed when they set a value.
|
|
28
|
+
* You can disable this behavior by setting the `disableCloseDialogOnSetValue`
|
|
29
|
+
* property to true.
|
|
30
|
+
* You'll still be able to close a dialog via the `closeDialog` method
|
|
31
|
+
* that is returned from the `openLocationDialog` method.
|
|
32
|
+
*/
|
|
33
|
+
disableCloseDialogOnSetValue?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for setting the max width of the dialog.
|
|
36
|
+
*/
|
|
37
|
+
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full';
|
|
38
|
+
/**
|
|
39
|
+
* Parameters to pass to the dialog, which will be available in the dialog via
|
|
40
|
+
* the `metadata` object for the dialog location, e.g. `metadata.dialogParams`.
|
|
41
|
+
* Parameters should be simple (serializable) types, not functions or DOM
|
|
42
|
+
* elements or similar non-serializable objects.
|
|
43
|
+
*/
|
|
44
|
+
params?: DialogParams;
|
|
45
|
+
/**
|
|
46
|
+
* Allows you to specify the height of the dialog content upon open. Note: the
|
|
47
|
+
* dialog itself will always be full height to match the Uniform dashboard UI.
|
|
48
|
+
* However, the content container within the dialog is, by default, auto-sized to
|
|
49
|
+
* the calculated height of the rendered content of the dialog.
|
|
50
|
+
* Setting the `contentHeight` option disables auto-sizing and allows you to specify
|
|
51
|
+
* your own height for the dialog content.
|
|
52
|
+
* `contentHeight` option can be specific lengths, e.g. 100vh, 500px, etc... as
|
|
53
|
+
* well as other standard CSS height options.
|
|
54
|
+
*/
|
|
55
|
+
contentHeight?: CSSHeight;
|
|
56
|
+
}
|
|
57
|
+
declare type DialogParamValue = string | number | boolean | null | DialogParamValue[] | {
|
|
58
|
+
[key: string]: DialogParamValue;
|
|
59
|
+
};
|
|
60
|
+
declare type DialogParams = {
|
|
61
|
+
[paramName: string]: DialogParamValue;
|
|
62
|
+
};
|
|
63
|
+
declare type CSSHeight = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset' | '-moz-max-content' | '-moz-min-content' | '-webkit-fit-content' | 'auto' | 'fit-content' | 'max-content' | 'min-content' | `${number}${'px' | 'em' | 'rem' | 'vh'}`;
|
|
64
|
+
|
|
1
65
|
interface SdkWindow {
|
|
66
|
+
/** The current window object. */
|
|
2
67
|
instance: Window;
|
|
3
|
-
height
|
|
68
|
+
/** The numerical height of the current window. */
|
|
69
|
+
height: number;
|
|
70
|
+
/** The MutationObserver object used to detect content height changes.
|
|
71
|
+
* Note: this property is only defined if `enableAutoResizing` is true. */
|
|
4
72
|
observer?: MutationObserver;
|
|
73
|
+
/** Enables auto-resizing of the window (iframe) based on the size of the content. */
|
|
5
74
|
enableAutoResizing: () => void;
|
|
75
|
+
/** Disables auto-resizing of the window (iframe) based on the size of the content. */
|
|
6
76
|
disableAutoResizing: () => void;
|
|
77
|
+
/** `height` argument can be specific lengths, e.g. 100vh, 300px, etc...
|
|
78
|
+
* as well as other standard CSS height options */
|
|
79
|
+
updateHeight: (height: CSSHeight) => void;
|
|
7
80
|
}
|
|
8
81
|
|
|
9
82
|
interface UniformMeshSDK {
|
|
@@ -31,39 +104,17 @@ interface UniformMeshSDK {
|
|
|
31
104
|
options?: DialogOptions;
|
|
32
105
|
}): Promise<LocationDialogResponse<TDialogValue> | undefined>;
|
|
33
106
|
closeCurrentLocationDialog(): Promise<void>;
|
|
34
|
-
dialogContext?:
|
|
35
|
-
dialogId: string;
|
|
36
|
-
};
|
|
107
|
+
dialogContext?: DialogContext;
|
|
37
108
|
}
|
|
38
109
|
interface LocationDialogResponse<TDialogValue> {
|
|
39
110
|
/** Generated id for the dialog. */
|
|
40
111
|
dialogId: string;
|
|
41
112
|
/** The value set by the dialog. */
|
|
42
113
|
value: TDialogValue;
|
|
43
|
-
/** Allows for closing the dialog manually.
|
|
114
|
+
/** Allows for closing the dialog manually.
|
|
115
|
+
* Typically used when `closeDialogOnSetValue` is false. */
|
|
44
116
|
closeDialog: () => Promise<void>;
|
|
45
117
|
}
|
|
46
|
-
declare type DialogType = 'location' | 'confirm';
|
|
47
|
-
interface DialogOptions {
|
|
48
|
-
/**
|
|
49
|
-
* By default, dialogs will be closed when they set a value.
|
|
50
|
-
* You can disable this behavior by setting the `disableCloseDialogOnSetValue` property to true.
|
|
51
|
-
* You'll still be able to close a dialog via the `closeDialog` method that is returned from the `openLocationDialog` method.
|
|
52
|
-
*/
|
|
53
|
-
disableCloseDialogOnSetValue?: boolean;
|
|
54
|
-
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full';
|
|
55
|
-
/**
|
|
56
|
-
* Parameters to pass to the dialog, which will be available in the dialog via the `metadata` object for the dialog location, e.g. `metadata.dialogParams`.
|
|
57
|
-
* Parameters should be simple (serializable) types, not functions or DOM elements or similar non-serializable objects.
|
|
58
|
-
*/
|
|
59
|
-
params?: DialogParams;
|
|
60
|
-
}
|
|
61
|
-
declare type DialogParamValue = string | number | boolean | null | DialogParamValue[] | {
|
|
62
|
-
[key: string]: DialogParamValue;
|
|
63
|
-
};
|
|
64
|
-
declare type DialogParams = {
|
|
65
|
-
[paramName: string]: DialogParamValue;
|
|
66
|
-
};
|
|
67
118
|
declare global {
|
|
68
119
|
interface Window {
|
|
69
120
|
UniformMeshSDK: UniformMeshSDK;
|
|
@@ -83,4 +134,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
83
134
|
autoResizingDisabled?: boolean;
|
|
84
135
|
}): Promise<UniformMeshSDK | undefined>;
|
|
85
136
|
|
|
86
|
-
export { DialogOptions, DialogParamValue, DialogParams, DialogType, LocationDialogResponse, MeshLocation, UniformMeshSDK, initializeUniformMeshSDK };
|
|
137
|
+
export { CSSHeight, ContextData, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, LocationDialogResponse, MeshLocation, SdkWindow, UniformMeshSDK, initializeUniformMeshSDK };
|
package/dist/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var w=()=>import("@datadog/framepost");async function u({dialogResponseHandlers:t}){let r=await w(),a=new r.ChildClient,s=await a.request("initialize");return a.onRequest("dialog-value",async e=>{let i=t[e.dialogId];!i||(e.value?i.resolve({value:e.value,dialogId:e.dialogId}):e.error&&i.reject(e.error),delete t[e.dialogId])}),{initData:s,parent:{resize:async e=>{a.request("resize",{height:e})},getValue:async()=>{let e=await a.request("getValue");return e==null?void 0:e.data},setValue:async e=>{await a.request("setValue",e)},getMetadata:async()=>{let e=await a.request("getMetadata");return e==null?void 0:e.data},openDialog:async({dialogType:e,data:i,options:o})=>{if(m(o==null?void 0:o.params)>1e5)throw new Error("Dialog parameters object is too large, maximum size is 100KB");let n=await a.request("openDialog",{dialogType:e,dialogData:i,options:o}),l=n==null?void 0:n.dialogId;if(!!l)return new Promise((D,f)=>{t[l]={resolve:D,reject:f}})},closeDialog:async({dialogId:e,dialogType:i,dialogData:o})=>{await a.request("closeDialog",{dialogId:e,dialogType:i,dialogData:o})}}}}function m(t){if(!t||typeof Blob=="undefined")return 0;try{let r=JSON.stringify(t);return new Blob([r]).size}catch(r){throw new Error("Error calculating object size: "+r.message)}}var d,p=({onHeightChange:t,autoResizingDisabled:r})=>{if(typeof window=="undefined")return;let a=window,s=n=>{if(n&&n!==d){d=n,t==null||t(n);return}let l=`${Math.ceil(a.document.documentElement.getBoundingClientRect().height)}px`;l!==d&&(d=l,t==null||t(l))},e=()=>{s()},i=r?void 0:new MutationObserver(e),o={instance:a,height:a.document.documentElement.getBoundingClientRect().height,observer:i,enableAutoResizing:()=>{i==null||i.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),a.addEventListener("resize",e)},disableAutoResizing:()=>{i==null||i.disconnect(),a.removeEventListener("resize",e)},updateHeight:s};return r||o.enableAutoResizing(),o};var y={};async function I({autoResizingDisabled:t}={}){var r;if(typeof window!="undefined"&&typeof window.UniformMeshSDK=="undefined"){if(typeof window.parent=="undefined"||window.parent==window)throw new Error("It appears you are trying to connect with the Uniform Mesh SDK outside of an iframe. Be sure you are loading your app via a location URL configured in the Uniform dashboard.");let a=await u({dialogResponseHandlers:y}),{initData:s,parent:e}=a,i={getCurrentLocation:()=>({getValue:()=>s.locationValue,setValue:async o=>{await e.setValue(o),s.locationValue=o},getMetadata:()=>s.locationMetadata}),currentWindow:p({onHeightChange:o=>{e.resize(o)},autoResizingDisabled:((r=s.dialogContext)==null?void 0:r.contentHeight)?!0:t}),version:s.uniformApiVersion,openLocationDialog:async({locationKey:o,options:n})=>{let l=await e.openDialog({dialogType:"location",data:{locationKey:o},options:n});if(!!l)return{dialogId:l.dialogId,value:l.value,closeDialog:async()=>{await e.closeDialog({dialogId:l.dialogId,dialogType:"location"})}}},closeLocationDialog:async({dialogId:o})=>{await e.closeDialog({dialogId:o,dialogType:"location"})},openConfirmationDialog:async({titleText:o,bodyText:n})=>{let l=await e.openDialog({dialogType:"confirm",data:{titleText:o,bodyText:n}});if(!!l)return{dialogId:l.dialogId,value:l.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})}}},closeConfirmationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})},openCurrentLocationDialog:async({options:o})=>{let n=await e.openDialog({dialogType:"location",data:{},options:o});if(!!n)return{dialogId:n.dialogId,value:n.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})}}},closeCurrentLocationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})},dialogContext:s.dialogContext};return window.UniformMeshSDK=i,i}}export{I as initializeUniformMeshSDK};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y=Object.create;var d=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var u=o=>d(o,"__esModule",{value:!0});var h=(o,i)=>{for(var a in i)d(o,a,{get:i[a],enumerable:!0})},p=(o,i,a,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of S(i))!V.call(o,e)&&(a||e!=="default")&&d(o,e,{get:()=>i[e],enumerable:!(s=T(i,e))||s.enumerable});return o},I=(o,i)=>p(u(d(o!=null?y(v(o)):{},"default",!i&&o&&o.__esModule?{get:()=>o.default,enumerable:!0}:{value:o,enumerable:!0})),o),x=(o=>(i,a)=>o&&o.get(i)||(a=p(u({}),i,1),o&&o.set(i,a),a))(typeof WeakMap!="undefined"?new WeakMap:0);var R={};h(R,{initializeUniformMeshSDK:()=>M});var b=()=>import("@datadog/framepost");async function D({dialogResponseHandlers:o}){let i=await b(),a=new i.ChildClient,s=await a.request("initialize");return a.onRequest("dialog-value",async e=>{let t=o[e.dialogId];!t||(e.value?t.resolve({value:e.value,dialogId:e.dialogId}):e.error&&t.reject(e.error),delete o[e.dialogId])}),{initData:s,parent:{resize:async e=>{a.request("resize",{height:e})},getValue:async()=>{let e=await a.request("getValue");return e==null?void 0:e.data},setValue:async e=>{await a.request("setValue",e)},getMetadata:async()=>{let e=await a.request("getMetadata");return e==null?void 0:e.data},openDialog:async({dialogType:e,data:t,options:n})=>{if(C(n==null?void 0:n.params)>1e5)throw new Error("Dialog parameters object is too large, maximum size is 100KB");let l=await a.request("openDialog",{dialogType:e,dialogData:t,options:n}),r=l==null?void 0:l.dialogId;if(!!r)return new Promise((w,m)=>{o[r]={resolve:w,reject:m}})},closeDialog:async({dialogId:e,dialogType:t,dialogData:n})=>{await a.request("closeDialog",{dialogId:e,dialogType:t,dialogData:n})}}}}function C(o){if(!o||typeof Blob=="undefined")return 0;try{let i=JSON.stringify(o);return new Blob([i]).size}catch(i){throw new Error("Error calculating object size: "+i.message)}}var g,f=({onHeightChange:o,autoResizingDisabled:i})=>{if(typeof window=="undefined")return;let a=window,s=l=>{if(l&&l!==g){g=l,o==null||o(l);return}let r=`${Math.ceil(a.document.documentElement.getBoundingClientRect().height)}px`;r!==g&&(g=r,o==null||o(r))},e=()=>{s()},t=i?void 0:new MutationObserver(e),n={instance:a,height:a.document.documentElement.getBoundingClientRect().height,observer:t,enableAutoResizing:()=>{t==null||t.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),a.addEventListener("resize",e)},disableAutoResizing:()=>{t==null||t.disconnect(),a.removeEventListener("resize",e)},updateHeight:s};return i||n.enableAutoResizing(),n};var k={};async function M({autoResizingDisabled:o}={}){var i;if(typeof window!="undefined"&&typeof window.UniformMeshSDK=="undefined"){if(typeof window.parent=="undefined"||window.parent==window)throw new Error("It appears you are trying to connect with the Uniform Mesh SDK outside of an iframe. Be sure you are loading your app via a location URL configured in the Uniform dashboard.");let a=await D({dialogResponseHandlers:k}),{initData:s,parent:e}=a,t={getCurrentLocation:()=>({getValue:()=>s.locationValue,setValue:async n=>{await e.setValue(n),s.locationValue=n},getMetadata:()=>s.locationMetadata}),currentWindow:f({onHeightChange:n=>{e.resize(n)},autoResizingDisabled:((i=s.dialogContext)==null?void 0:i.contentHeight)?!0:o}),version:s.uniformApiVersion,openLocationDialog:async({locationKey:n,options:l})=>{let r=await e.openDialog({dialogType:"location",data:{locationKey:n},options:l});if(!!r)return{dialogId:r.dialogId,value:r.value,closeDialog:async()=>{await e.closeDialog({dialogId:r.dialogId,dialogType:"location"})}}},closeLocationDialog:async({dialogId:n})=>{await e.closeDialog({dialogId:n,dialogType:"location"})},openConfirmationDialog:async({titleText:n,bodyText:l})=>{let r=await e.openDialog({dialogType:"confirm",data:{titleText:n,bodyText:l}});if(!!r)return{dialogId:r.dialogId,value:r.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})}}},closeConfirmationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})},openCurrentLocationDialog:async({options:n})=>{let l=await e.openDialog({dialogType:"location",data:{},options:n});if(!!l)return{dialogId:l.dialogId,value:l.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})}}},closeCurrentLocationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})},dialogContext:s.dialogContext};return window.UniformMeshSDK=t,t}}module.exports=x(R);0&&(module.exports={initializeUniformMeshSDK});
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var w=()=>import("@datadog/framepost");async function u({dialogResponseHandlers:t}){let r=await w(),a=new r.ChildClient,s=await a.request("initialize");return a.onRequest("dialog-value",async e=>{let i=t[e.dialogId];!i||(e.value?i.resolve({value:e.value,dialogId:e.dialogId}):e.error&&i.reject(e.error),delete t[e.dialogId])}),{initData:s,parent:{resize:async e=>{a.request("resize",{height:e})},getValue:async()=>{let e=await a.request("getValue");return e==null?void 0:e.data},setValue:async e=>{await a.request("setValue",e)},getMetadata:async()=>{let e=await a.request("getMetadata");return e==null?void 0:e.data},openDialog:async({dialogType:e,data:i,options:o})=>{if(m(o==null?void 0:o.params)>1e5)throw new Error("Dialog parameters object is too large, maximum size is 100KB");let n=await a.request("openDialog",{dialogType:e,dialogData:i,options:o}),l=n==null?void 0:n.dialogId;if(!!l)return new Promise((D,f)=>{t[l]={resolve:D,reject:f}})},closeDialog:async({dialogId:e,dialogType:i,dialogData:o})=>{await a.request("closeDialog",{dialogId:e,dialogType:i,dialogData:o})}}}}function m(t){if(!t||typeof Blob=="undefined")return 0;try{let r=JSON.stringify(t);return new Blob([r]).size}catch(r){throw new Error("Error calculating object size: "+r.message)}}var d,p=({onHeightChange:t,autoResizingDisabled:r})=>{if(typeof window=="undefined")return;let a=window,s=n=>{if(n&&n!==d){d=n,t==null||t(n);return}let l=`${Math.ceil(a.document.documentElement.getBoundingClientRect().height)}px`;l!==d&&(d=l,t==null||t(l))},e=()=>{s()},i=r?void 0:new MutationObserver(e),o={instance:a,height:a.document.documentElement.getBoundingClientRect().height,observer:i,enableAutoResizing:()=>{i==null||i.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),a.addEventListener("resize",e)},disableAutoResizing:()=>{i==null||i.disconnect(),a.removeEventListener("resize",e)},updateHeight:s};return r||o.enableAutoResizing(),o};var y={};async function I({autoResizingDisabled:t}={}){var r;if(typeof window!="undefined"&&typeof window.UniformMeshSDK=="undefined"){if(typeof window.parent=="undefined"||window.parent==window)throw new Error("It appears you are trying to connect with the Uniform Mesh SDK outside of an iframe. Be sure you are loading your app via a location URL configured in the Uniform dashboard.");let a=await u({dialogResponseHandlers:y}),{initData:s,parent:e}=a,i={getCurrentLocation:()=>({getValue:()=>s.locationValue,setValue:async o=>{await e.setValue(o),s.locationValue=o},getMetadata:()=>s.locationMetadata}),currentWindow:p({onHeightChange:o=>{e.resize(o)},autoResizingDisabled:((r=s.dialogContext)==null?void 0:r.contentHeight)?!0:t}),version:s.uniformApiVersion,openLocationDialog:async({locationKey:o,options:n})=>{let l=await e.openDialog({dialogType:"location",data:{locationKey:o},options:n});if(!!l)return{dialogId:l.dialogId,value:l.value,closeDialog:async()=>{await e.closeDialog({dialogId:l.dialogId,dialogType:"location"})}}},closeLocationDialog:async({dialogId:o})=>{await e.closeDialog({dialogId:o,dialogType:"location"})},openConfirmationDialog:async({titleText:o,bodyText:n})=>{let l=await e.openDialog({dialogType:"confirm",data:{titleText:o,bodyText:n}});if(!!l)return{dialogId:l.dialogId,value:l.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})}}},closeConfirmationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"confirm"})},openCurrentLocationDialog:async({options:o})=>{let n=await e.openDialog({dialogType:"location",data:{},options:o});if(!!n)return{dialogId:n.dialogId,value:n.value,closeDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})}}},closeCurrentLocationDialog:async()=>{await e.closeDialog({dialogId:void 0,dialogType:"location"})},dialogContext:s.dialogContext};return window.UniformMeshSDK=i,i}}export{I as initializeUniformMeshSDK};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.2-alpha.87+2a349914",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,18 +25,17 @@
|
|
|
25
25
|
"ci:build": "tsup --minify --clean"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"
|
|
28
|
+
"@datadog/framepost": "0.3.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/jest": "27.4.0",
|
|
32
|
-
"@types/node": "16.11.
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"jest": "27.4.7",
|
|
32
|
+
"@types/node": "16.11.25",
|
|
33
|
+
"eslint": "8.9.0",
|
|
34
|
+
"jest": "27.5.1",
|
|
36
35
|
"npm-run-all": "4.1.5",
|
|
37
36
|
"rimraf": "3.0.2",
|
|
38
37
|
"ts-jest": "27.1.3",
|
|
39
|
-
"tsup": "5.11.
|
|
38
|
+
"tsup": "5.11.13"
|
|
40
39
|
},
|
|
41
40
|
"files": [
|
|
42
41
|
"/dist"
|
|
@@ -44,5 +43,5 @@
|
|
|
44
43
|
"publishConfig": {
|
|
45
44
|
"access": "public"
|
|
46
45
|
},
|
|
47
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "2a3499142b3545bd46c9819118a5e3d202e7dd82"
|
|
48
47
|
}
|