@settlemint/dalp-sdk 2.1.7-main.23065142748 → 2.1.7-main.23082494792
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.js +23 -23
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createORPCClient } from "@orpc/client";
|
|
3
3
|
import { RequestValidationPlugin, ResponseValidationPlugin } from "@orpc/contract/plugins";
|
|
4
4
|
|
|
5
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
5
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/adapters/fetch/index.mjs
|
|
6
6
|
import { LinkFetchClient } from "@orpc/client/fetch";
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.bun/@orpc+shared@1.13.
|
|
8
|
+
// ../../node_modules/.bun/@orpc+shared@1.13.7+460773ef8ff1e07c/node_modules/@orpc/shared/dist/index.mjs
|
|
9
9
|
function resolveMaybeOptionalOptions(rest) {
|
|
10
10
|
return rest[0] ?? {};
|
|
11
11
|
}
|
|
@@ -13,7 +13,7 @@ function toArray(value) {
|
|
|
13
13
|
return Array.isArray(value) ? value : value === undefined || value === null ? [] : [value];
|
|
14
14
|
}
|
|
15
15
|
var ORPC_SHARED_PACKAGE_NAME = "@orpc/shared";
|
|
16
|
-
var ORPC_SHARED_PACKAGE_VERSION = "1.13.
|
|
16
|
+
var ORPC_SHARED_PACKAGE_VERSION = "1.13.7";
|
|
17
17
|
function once(fn) {
|
|
18
18
|
let cached;
|
|
19
19
|
return () => {
|
|
@@ -367,13 +367,13 @@ function overlayProxy(target, partial) {
|
|
|
367
367
|
return proxy;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
370
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/adapters/fetch/index.mjs
|
|
371
371
|
import"@orpc/contract";
|
|
372
372
|
|
|
373
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
373
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/shared/openapi-client.B2Q9qU5m.mjs
|
|
374
374
|
import { toStandardHeaders, toHttpPath, getMalformedResponseErrorCode, StandardLink } from "@orpc/client/standard";
|
|
375
375
|
|
|
376
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
376
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/shared/openapi-client.t9fCAe3x.mjs
|
|
377
377
|
class StandardBracketNotationSerializer {
|
|
378
378
|
maxArrayIndex;
|
|
379
379
|
constructor(options = {}) {
|
|
@@ -516,11 +516,11 @@ function pushStyleArrayToObject(array) {
|
|
|
516
516
|
return obj;
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
519
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/shared/openapi-client.B2Q9qU5m.mjs
|
|
520
520
|
import { isORPCErrorStatus, isORPCErrorJson, createORPCErrorFromJson, mapEventIterator, toORPCError } from "@orpc/client";
|
|
521
521
|
import { isContractProcedure, fallbackContractConfig, ORPCError } from "@orpc/contract";
|
|
522
522
|
|
|
523
|
-
// ../../node_modules/.bun/@orpc+standard-server@1.13.
|
|
523
|
+
// ../../node_modules/.bun/@orpc+standard-server@1.13.7+460773ef8ff1e07c/node_modules/@orpc/standard-server/dist/index.mjs
|
|
524
524
|
class EventDecoderError extends TypeError {
|
|
525
525
|
}
|
|
526
526
|
|
|
@@ -648,7 +648,7 @@ function mergeStandardHeaders(a, b) {
|
|
|
648
648
|
return merged;
|
|
649
649
|
}
|
|
650
650
|
|
|
651
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
651
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/shared/openapi-client.B2Q9qU5m.mjs
|
|
652
652
|
class StandardOpenAPIJsonSerializer {
|
|
653
653
|
customSerializers;
|
|
654
654
|
constructor(options = {}) {
|
|
@@ -942,7 +942,7 @@ class StandardOpenAPILink extends StandardLink {
|
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
945
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/adapters/fetch/index.mjs
|
|
946
946
|
import"@orpc/client";
|
|
947
947
|
import"@orpc/client/standard";
|
|
948
948
|
class OpenAPILink extends StandardOpenAPILink {
|
|
@@ -1011,22 +1011,22 @@ var RoleRequirementSchema = z7.lazy(() => z7.union([
|
|
|
1011
1011
|
// ../../packages/dalp/dapi/contract/src/errors.ts
|
|
1012
1012
|
import { oc } from "@orpc/contract";
|
|
1013
1013
|
|
|
1014
|
-
// ../../node_modules/.bun/@orpc+openapi@1.13.
|
|
1014
|
+
// ../../node_modules/.bun/@orpc+openapi@1.13.7+50160a4e9ae07948/node_modules/@orpc/openapi/dist/shared/openapi.CoREqFh3.mjs
|
|
1015
1015
|
import { isORPCErrorStatus as isORPCErrorStatus2, fallbackORPCErrorStatus, fallbackORPCErrorMessage } from "@orpc/client";
|
|
1016
1016
|
import { toHttpPath as toHttpPath2 } from "@orpc/client/standard";
|
|
1017
1017
|
import { fallbackContractConfig as fallbackContractConfig3, getEventIteratorSchemaDetails } from "@orpc/contract";
|
|
1018
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
1018
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/shared/openapi-client.Dgl8z2tb.mjs
|
|
1019
1019
|
import { isSchemaIssue } from "@orpc/contract";
|
|
1020
|
-
// ../../node_modules/.bun/@orpc+openapi-client@1.13.
|
|
1020
|
+
// ../../node_modules/.bun/@orpc+openapi-client@1.13.7+460773ef8ff1e07c/node_modules/@orpc/openapi-client/dist/adapters/standard/index.mjs
|
|
1021
1021
|
import"@orpc/contract";
|
|
1022
1022
|
import"@orpc/client/standard";
|
|
1023
1023
|
import"@orpc/client";
|
|
1024
1024
|
|
|
1025
|
-
// ../../node_modules/.bun/@orpc+server@1.13.
|
|
1025
|
+
// ../../node_modules/.bun/@orpc+server@1.13.7+50160a4e9ae07948/node_modules/@orpc/server/dist/index.mjs
|
|
1026
1026
|
import { mergeErrorMap as mergeErrorMap2, mergeMeta, mergeRoute, mergePrefix as mergePrefix2, mergeTags, isContractProcedure as isContractProcedure3, getContractRouter, fallbackContractConfig as fallbackContractConfig2 } from "@orpc/contract";
|
|
1027
1027
|
import { ValidationError as ValidationError2, eventIterator, type, validateORPCError as validateORPCError2 } from "@orpc/contract";
|
|
1028
1028
|
|
|
1029
|
-
// ../../node_modules/.bun/@orpc+server@1.13.
|
|
1029
|
+
// ../../node_modules/.bun/@orpc+server@1.13.7+50160a4e9ae07948/node_modules/@orpc/server/dist/shared/server.Ds4HPpvH.mjs
|
|
1030
1030
|
import { isContractProcedure as isContractProcedure2, validateORPCError, ValidationError, mergePrefix, mergeErrorMap, enhanceRoute } from "@orpc/contract";
|
|
1031
1031
|
import { ORPCError as ORPCError2, mapEventIterator as mapEventIterator2 } from "@orpc/client";
|
|
1032
1032
|
var LAZY_SYMBOL = Symbol("ORPC_LAZY_SYMBOL");
|
|
@@ -1343,7 +1343,7 @@ async function resolveContractProcedures(options, callback) {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
|
-
// ../../node_modules/.bun/@orpc+server@1.13.
|
|
1346
|
+
// ../../node_modules/.bun/@orpc+server@1.13.7+50160a4e9ae07948/node_modules/@orpc/server/dist/index.mjs
|
|
1347
1347
|
import { toORPCError as toORPCError2 } from "@orpc/client";
|
|
1348
1348
|
import { ORPCError as ORPCError3, isDefinedError, safe } from "@orpc/client";
|
|
1349
1349
|
var DEFAULT_CONFIG = {
|
|
@@ -1612,7 +1612,7 @@ var TypeName;
|
|
|
1612
1612
|
TypeName2["String"] = "string";
|
|
1613
1613
|
})(TypeName || (TypeName = {}));
|
|
1614
1614
|
|
|
1615
|
-
// ../../node_modules/.bun/@orpc+openapi@1.13.
|
|
1615
|
+
// ../../node_modules/.bun/@orpc+openapi@1.13.7+50160a4e9ae07948/node_modules/@orpc/openapi/dist/shared/openapi.CoREqFh3.mjs
|
|
1616
1616
|
var OPERATION_EXTENDER_SYMBOL = Symbol("ORPC_OPERATION_EXTENDER");
|
|
1617
1617
|
function customOpenAPIOperation(o, extend) {
|
|
1618
1618
|
return new Proxy(o, {
|
|
@@ -2414,7 +2414,7 @@ ${errors.join(`
|
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
2416
2416
|
|
|
2417
|
-
// ../../node_modules/.bun/@orpc+openapi@1.13.
|
|
2417
|
+
// ../../node_modules/.bun/@orpc+openapi@1.13.7+50160a4e9ae07948/node_modules/@orpc/openapi/dist/index.mjs
|
|
2418
2418
|
import { createORPCErrorFromJson as createORPCErrorFromJson2 } from "@orpc/client";
|
|
2419
2419
|
import"@orpc/client/standard";
|
|
2420
2420
|
import"@orpc/contract";
|
|
@@ -21723,7 +21723,7 @@ var dalpSerializers = [
|
|
|
21723
21723
|
// package.json
|
|
21724
21724
|
var package_default = {
|
|
21725
21725
|
name: "@settlemint/dalp-sdk",
|
|
21726
|
-
version: "2.1.7-main.
|
|
21726
|
+
version: "2.1.7-main.23082494792",
|
|
21727
21727
|
private: false,
|
|
21728
21728
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
21729
21729
|
homepage: "https://settlemint.com",
|
|
@@ -21773,14 +21773,14 @@ var package_default = {
|
|
|
21773
21773
|
typecheck: "tsgo --noEmit"
|
|
21774
21774
|
},
|
|
21775
21775
|
dependencies: {
|
|
21776
|
-
"@orpc/client": "1.13.
|
|
21777
|
-
"@orpc/contract": "1.13.
|
|
21778
|
-
"@orpc/openapi-client": "1.13.
|
|
21776
|
+
"@orpc/client": "1.13.7",
|
|
21777
|
+
"@orpc/contract": "1.13.7",
|
|
21778
|
+
"@orpc/openapi-client": "1.13.7",
|
|
21779
21779
|
"currency-codes": "2.2.0",
|
|
21780
21780
|
"date-fns": "4.1.0",
|
|
21781
21781
|
dnum: "2.17.0",
|
|
21782
21782
|
"iso-3166": "4.4.0",
|
|
21783
|
-
viem: "2.47.
|
|
21783
|
+
viem: "2.47.2",
|
|
21784
21784
|
zod: "4.3.6"
|
|
21785
21785
|
},
|
|
21786
21786
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-sdk",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.23082494792",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Fully typed SDK for the DALP tokenization platform API",
|
|
6
6
|
"homepage": "https://settlemint.com",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"typecheck": "tsgo --noEmit"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@orpc/client": "1.13.
|
|
54
|
-
"@orpc/contract": "1.13.
|
|
55
|
-
"@orpc/openapi-client": "1.13.
|
|
53
|
+
"@orpc/client": "1.13.7",
|
|
54
|
+
"@orpc/contract": "1.13.7",
|
|
55
|
+
"@orpc/openapi-client": "1.13.7",
|
|
56
56
|
"currency-codes": "2.2.0",
|
|
57
57
|
"date-fns": "4.1.0",
|
|
58
58
|
"dnum": "2.17.0",
|
|
59
59
|
"iso-3166": "4.4.0",
|
|
60
|
-
"viem": "2.47.
|
|
60
|
+
"viem": "2.47.2",
|
|
61
61
|
"zod": "4.3.6"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|