@remit/data-ports 0.0.43 → 0.0.44
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/package.json +1 -1
- package/src/id.ts +0 -10
- package/src/types.ts +1 -1
package/package.json
CHANGED
package/src/id.ts
CHANGED
|
@@ -21,16 +21,6 @@ export const deriveAddressId = (
|
|
|
21
21
|
REMIT_NAMESPACE,
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
export const deriveEnvelopeAddressId = (
|
|
25
|
-
messageId: string,
|
|
26
|
-
role: string,
|
|
27
|
-
order: number,
|
|
28
|
-
): string =>
|
|
29
|
-
base36uuidv5(
|
|
30
|
-
`envelopeaddress:${messageId}:${role}:${order}`,
|
|
31
|
-
REMIT_NAMESPACE,
|
|
32
|
-
);
|
|
33
|
-
|
|
34
24
|
export const isValidMessageId = (messageId: string | undefined): boolean => {
|
|
35
25
|
if (!messageId) return false;
|
|
36
26
|
const trimmed = messageId.trim();
|
package/src/types.ts
CHANGED
|
@@ -295,7 +295,7 @@ export type UpdateAddressInput = Partial<
|
|
|
295
295
|
export type CreateEnvelopeAddressInput = Omit<
|
|
296
296
|
EnvelopeAddressItem,
|
|
297
297
|
"envelopeAddressId" | "createdAt" | "updatedAt"
|
|
298
|
-
|
|
298
|
+
>;
|
|
299
299
|
|
|
300
300
|
export type CreateEnvelopeInput = Omit<
|
|
301
301
|
EnvelopeItem,
|