diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 2251c34..bb0a7d1 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -16401,7 +16401,7 @@ var splitHeader = (value) => { }; // src/submodules/serde/value/NumericValue.ts -var NumericValue = class { +var NumericValue = class _NumericValue { constructor(string, type) { this.string = string; this.type = type; @@ -16428,15 +16428,19 @@ var NumericValue = class { toString() { return this.string; } - [Symbol.hasInstance](object) { + static [Symbol.hasInstance](object) { if (!object || typeof object !== "object") { return false; } const _nv = object; + const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object.constructor?.prototype); + if (prototypeMatch) { + return prototypeMatch; + } if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") { return true; } - return false; + return prototypeMatch; } }; function nv(input) { @@ -17535,6 +17539,7 @@ var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, in } if (endpointFromConfig) { clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + clientConfig.isCustomEndpoint = true; } } const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig); diff --git a/dist/index.js b/dist/index.js index 6a5a594..8db8931 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17102,7 +17102,7 @@ var splitHeader = (value) => { }; // src/submodules/serde/value/NumericValue.ts -var NumericValue = class { +var NumericValue = class _NumericValue { constructor(string, type) { this.string = string; this.type = type; @@ -17129,15 +17129,19 @@ var NumericValue = class { toString() { return this.string; } - [Symbol.hasInstance](object) { + static [Symbol.hasInstance](object) { if (!object || typeof object !== "object") { return false; } const _nv = object; + const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object.constructor?.prototype); + if (prototypeMatch) { + return prototypeMatch; + } if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") { return true; } - return false; + return prototypeMatch; } }; function nv(input) { @@ -18236,6 +18240,7 @@ var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, in } if (endpointFromConfig) { clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + clientConfig.isCustomEndpoint = true; } } const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);