@redneckz/wildless-cms-uni-blocks 0.14.793 → 0.14.794
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/bundle/bundle.umd.js +2 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/hooks/useAspects/aspects/getAspectsWithInclude.js +1 -3
- package/dist/hooks/useAspects/aspects/getAspectsWithInclude.js.map +1 -1
- package/lib/hooks/useAspects/aspects/getAspectsWithInclude.js +1 -3
- package/lib/hooks/useAspects/aspects/getAspectsWithInclude.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/hooks/useAspects/aspects/getAspectsWithInclude.js +1 -3
- package/mobile/dist/hooks/useAspects/aspects/getAspectsWithInclude.js.map +1 -1
- package/mobile/lib/hooks/useAspects/aspects/getAspectsWithInclude.js +1 -3
- package/mobile/lib/hooks/useAspects/aspects/getAspectsWithInclude.js.map +1 -1
- package/mobile/src/hooks/useAspects/aspects/getAspectsWithInclude.tsx +1 -4
- package/package.json +1 -1
- package/src/hooks/useAspects/aspects/getAspectsWithInclude.tsx +1 -4
|
@@ -2,9 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.getAspectsWithInclude = void 0;
|
|
3
3
|
const getAspectsWithInclude = (data, include) => data?.map(({ aspectName, params }) => ({
|
|
4
4
|
aspectName,
|
|
5
|
-
params: aspectName === '
|
|
6
|
-
? { ...params, eventJson: include }
|
|
7
|
-
: params,
|
|
5
|
+
params: aspectName === 'snowplowEvent' ? { ...params, eventJSON: include } : params,
|
|
8
6
|
}));
|
|
9
7
|
exports.getAspectsWithInclude = getAspectsWithInclude;
|
|
10
8
|
//# sourceMappingURL=getAspectsWithInclude.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAspectsWithInclude.js","sourceRoot":"","sources":["../../../../src/hooks/useAspects/aspects/getAspectsWithInclude.tsx"],"names":[],"mappings":";;AAGO,MAAM,qBAAqB,GAAG,CAAC,IAAmB,EAAE,OAAgB,EAAgB,EAAE,CAC3F,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAoB,EAAE,EAAE,CAAC,CAAC;IACvD,UAAU;IACV,MAAM,
|
|
1
|
+
{"version":3,"file":"getAspectsWithInclude.js","sourceRoot":"","sources":["../../../../src/hooks/useAspects/aspects/getAspectsWithInclude.tsx"],"names":[],"mappings":";;AAGO,MAAM,qBAAqB,GAAG,CAAC,IAAmB,EAAE,OAAgB,EAAgB,EAAE,CAC3F,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAoB,EAAE,EAAE,CAAC,CAAC;IACvD,UAAU;IACV,MAAM,EAAE,UAAU,KAAK,eAAe,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,MAAM;CACpF,CAAC,CAAiB,CAAC;AAJT,QAAA,qBAAqB,yBAIZ"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export const getAspectsWithInclude = (data, include) => data?.map(({ aspectName, params }) => ({
|
|
2
2
|
aspectName,
|
|
3
|
-
params: aspectName === '
|
|
4
|
-
? { ...params, eventJson: include }
|
|
5
|
-
: params,
|
|
3
|
+
params: aspectName === 'snowplowEvent' ? { ...params, eventJSON: include } : params,
|
|
6
4
|
}));
|
|
7
5
|
//# sourceMappingURL=getAspectsWithInclude.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAspectsWithInclude.js","sourceRoot":"","sources":["../../../../src/hooks/useAspects/aspects/getAspectsWithInclude.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,IAAmB,EAAE,OAAgB,EAAgB,EAAE,CAC3F,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAoB,EAAE,EAAE,CAAC,CAAC;IACvD,UAAU;IACV,MAAM,
|
|
1
|
+
{"version":3,"file":"getAspectsWithInclude.js","sourceRoot":"","sources":["../../../../src/hooks/useAspects/aspects/getAspectsWithInclude.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,IAAmB,EAAE,OAAgB,EAAgB,EAAE,CAC3F,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAoB,EAAE,EAAE,CAAC,CAAC;IACvD,UAAU;IACV,MAAM,EAAE,UAAU,KAAK,eAAe,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,MAAM;CACpF,CAAC,CAAiB,CAAC"}
|
|
@@ -4,8 +4,5 @@ import { type AspectsAttribute } from '../useAspects';
|
|
|
4
4
|
export const getAspectsWithInclude = (data?: AspectsDef[], include?: string): AspectsDef[] =>
|
|
5
5
|
data?.map(({ aspectName, params }: AspectsAttribute) => ({
|
|
6
6
|
aspectName,
|
|
7
|
-
params:
|
|
8
|
-
aspectName === 'mindboxEvent' || aspectName === 'snowplowEvent'
|
|
9
|
-
? { ...params, eventJson: include }
|
|
10
|
-
: params,
|
|
7
|
+
params: aspectName === 'snowplowEvent' ? { ...params, eventJSON: include } : params,
|
|
11
8
|
})) as AspectsDef[];
|
package/package.json
CHANGED
|
@@ -4,8 +4,5 @@ import { type AspectsAttribute } from '../useAspects';
|
|
|
4
4
|
export const getAspectsWithInclude = (data?: AspectsDef[], include?: string): AspectsDef[] =>
|
|
5
5
|
data?.map(({ aspectName, params }: AspectsAttribute) => ({
|
|
6
6
|
aspectName,
|
|
7
|
-
params:
|
|
8
|
-
aspectName === 'mindboxEvent' || aspectName === 'snowplowEvent'
|
|
9
|
-
? { ...params, eventJson: include }
|
|
10
|
-
: params,
|
|
7
|
+
params: aspectName === 'snowplowEvent' ? { ...params, eventJSON: include } : params,
|
|
11
8
|
})) as AspectsDef[];
|