@01.software/sdk 0.2.2 → 0.2.4
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/{auth-BwIP4t_T.d.ts → auth-CWsLf5vd.d.ts} +1 -1
- package/dist/{auth-BwRoNck8.d.cts → auth-DTkwMgvi.d.cts} +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/metadata.cjs +2 -1
- package/dist/metadata.cjs.map +1 -1
- package/dist/metadata.d.cts +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.js +2 -1
- package/dist/metadata.js.map +1 -1
- package/dist/{payload-types-DPdUroGM.d.cts → payload-types-BFIUYPDZ.d.cts} +596 -583
- package/dist/{payload-types-DPdUroGM.d.ts → payload-types-BFIUYPDZ.d.ts} +596 -583
- package/dist/{webhook-DRpqvA6W.d.ts → webhook-BBp77Khg.d.ts} +1 -1
- package/dist/{webhook-4iCoQzsv.d.cts → webhook-BM5spkSP.d.cts} +1 -1
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +3 -3
package/dist/auth.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { J as JwtPayload, q as createApiKey, o as createServerToken, p as decodeServerToken, r as parseApiKey, v as verifyServerToken } from './auth-
|
|
1
|
+
export { J as JwtPayload, q as createApiKey, o as createServerToken, p as decodeServerToken, r as parseApiKey, v as verifyServerToken } from './auth-DTkwMgvi.cjs';
|
|
2
2
|
import 'payload';
|
|
3
|
-
import './payload-types-
|
|
3
|
+
import './payload-types-BFIUYPDZ.cjs';
|
package/dist/auth.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { J as JwtPayload, q as createApiKey, o as createServerToken, p as decodeServerToken, r as parseApiKey, v as verifyServerToken } from './auth-
|
|
1
|
+
export { J as JwtPayload, q as createApiKey, o as createServerToken, p as decodeServerToken, r as parseApiKey, v as verifyServerToken } from './auth-CWsLf5vd.js';
|
|
2
2
|
import 'payload';
|
|
3
|
-
import './payload-types-
|
|
3
|
+
import './payload-types-BFIUYPDZ.js';
|
package/dist/components.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { CSSProperties } from 'react';
|
|
|
2
2
|
import { SerializedLinkNode, SerializedBlockNode } from '@payloadcms/richtext-lexical';
|
|
3
3
|
import { SerializedEditorState, SerializedLexicalNode } from '@payloadcms/richtext-lexical/lexical';
|
|
4
4
|
import { JSXConverter } from '@payloadcms/richtext-lexical/react';
|
|
5
|
-
import { F as Form } from './payload-types-
|
|
5
|
+
import { F as Form } from './payload-types-BFIUYPDZ.cjs';
|
|
6
6
|
import { I as ImageData } from './image-TT8lTsk5.cjs';
|
|
7
7
|
|
|
8
8
|
type RichTextData = SerializedEditorState<SerializedLexicalNode>;
|
package/dist/components.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { CSSProperties } from 'react';
|
|
|
2
2
|
import { SerializedLinkNode, SerializedBlockNode } from '@payloadcms/richtext-lexical';
|
|
3
3
|
import { SerializedEditorState, SerializedLexicalNode } from '@payloadcms/richtext-lexical/lexical';
|
|
4
4
|
import { JSXConverter } from '@payloadcms/richtext-lexical/react';
|
|
5
|
-
import { F as Form } from './payload-types-
|
|
5
|
+
import { F as Form } from './payload-types-BFIUYPDZ.js';
|
|
6
6
|
import { I as ImageData } from './image-TT8lTsk5.js';
|
|
7
7
|
|
|
8
8
|
type RichTextData = SerializedEditorState<SerializedLexicalNode>;
|
package/dist/index.cjs
CHANGED
|
@@ -701,7 +701,8 @@ var ProductApi = class {
|
|
|
701
701
|
|
|
702
702
|
// src/utils/types.ts
|
|
703
703
|
var resolveRelation = (ref) => {
|
|
704
|
-
if (typeof ref === "number" || ref === null || ref === void 0)
|
|
704
|
+
if (typeof ref === "string" || typeof ref === "number" || ref === null || ref === void 0)
|
|
705
|
+
return null;
|
|
705
706
|
return ref;
|
|
706
707
|
};
|
|
707
708
|
var objectFor = resolveRelation;
|