@polywrap/core-js
Advanced tools
Comparing version 0.10.0-pre.8 to 0.10.0-pre.10
import { Uri, CoreClient, IUriResolutionContext } from ".."; | ||
import { Result } from "@polywrap/result"; | ||
export declare const applyResolution: (uri: Uri, client: CoreClient, resolutionContext?: IUriResolutionContext | undefined) => Promise<Result<Uri, unknown>>; | ||
export declare const applyResolution: (uri: Uri, client: CoreClient, resolutionContext?: IUriResolutionContext) => Promise<Result<Uri, unknown>>; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -52,3 +52,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
} | ||
return [2 /*return*/, result_1.ResultOk(result.value.uri)]; | ||
return [2 /*return*/, (0, result_1.ResultOk)(result.value.uri)]; | ||
} | ||
@@ -55,0 +55,0 @@ }); |
import { IUriResolutionStep } from "../.."; | ||
import { CleanResolutionStep } from "./CleanResolutionStep"; | ||
export declare const buildCleanUriHistory: (history: IUriResolutionStep<unknown>[], depth?: number | undefined) => CleanResolutionStep; | ||
export declare const buildCleanUriHistory: (history: IUriResolutionStep<unknown>[], depth?: number) => CleanResolutionStep; |
@@ -33,9 +33,9 @@ "use strict"; | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description | ||
: "" + step.sourceUri.uri); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description) | ||
: "".concat(step.sourceUri.uri)); | ||
} | ||
else { | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => uri (" + uriPackageOrWrapper.uri.uri + ")" | ||
: step.sourceUri.uri + " => uri (" + uriPackageOrWrapper.uri.uri + ")"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => uri (").concat(uriPackageOrWrapper.uri.uri, ")") | ||
: "".concat(step.sourceUri.uri, " => uri (").concat(uriPackageOrWrapper.uri.uri, ")")); | ||
} | ||
@@ -45,9 +45,9 @@ break; | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => package (" + uriPackageOrWrapper.uri.uri + ")" | ||
: step.sourceUri.uri + " => package (" + uriPackageOrWrapper.uri.uri + ")"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => package (").concat(uriPackageOrWrapper.uri.uri, ")") | ||
: "".concat(step.sourceUri.uri, " => package (").concat(uriPackageOrWrapper.uri.uri, ")")); | ||
break; | ||
case "wrapper": | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => wrapper (" + uriPackageOrWrapper.uri.uri + ")" | ||
: step.sourceUri.uri + " => wrapper (" + uriPackageOrWrapper.uri.uri + ")"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => wrapper (").concat(uriPackageOrWrapper.uri.uri, ")") | ||
: "".concat(step.sourceUri.uri, " => wrapper (").concat(uriPackageOrWrapper.uri.uri, ")")); | ||
break; | ||
@@ -59,14 +59,14 @@ } | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => error (" + step.result.error + ")" | ||
: step.sourceUri.uri + " => error (" + step.result.error + ")"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => error (").concat(step.result.error, ")") | ||
: "".concat(step.sourceUri.uri, " => error (").concat(step.result.error, ")")); | ||
} | ||
else if (step.result.error instanceof Error) { | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => error (" + step.result.error.message + ")" | ||
: step.sourceUri.uri + " => error (" + step.result.error.message + ")"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => error (").concat(step.result.error.message, ")") | ||
: "".concat(step.sourceUri.uri, " => error (").concat(step.result.error.message, ")")); | ||
} | ||
else { | ||
cleanHistory.push(step.description | ||
? step.sourceUri.uri + " => " + step.description + " => error" | ||
: step.sourceUri.uri + " => error"); | ||
? "".concat(step.sourceUri.uri, " => ").concat(step.description, " => error") | ||
: "".concat(step.sourceUri.uri, " => error")); | ||
} | ||
@@ -79,3 +79,3 @@ } | ||
} | ||
var subHistory = exports.buildCleanUriHistory(step.subHistory, depth); | ||
var subHistory = (0, exports.buildCleanUriHistory)(step.subHistory, depth); | ||
if (subHistory.length > 0) { | ||
@@ -82,0 +82,0 @@ cleanHistory.push(subHistory); |
@@ -1,1 +0,1 @@ | ||
export declare type CleanResolutionStep = (string | CleanResolutionStep)[]; | ||
export type CleanResolutionStep = (string | CleanResolutionStep)[]; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
import { Uri, InterfaceImplementations, CoreClient, WrapError } from "../types"; | ||
import { IUriResolutionContext } from "../uri-resolution"; | ||
import { Result } from "@polywrap/result"; | ||
export declare const getImplementations: (wrapperInterfaceUri: Uri, interfaces: readonly InterfaceImplementations[], client?: CoreClient | undefined, resolutionContext?: IUriResolutionContext | undefined) => Promise<Result<Uri[], WrapError>>; | ||
export declare const getImplementations: (wrapperInterfaceUri: Uri, interfaces: readonly InterfaceImplementations[], client?: CoreClient, resolutionContext?: IUriResolutionContext) => Promise<Result<Uri[], WrapError>>; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -81,3 +81,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
if (!client) return [3 /*break*/, 3]; | ||
return [4 /*yield*/, applyResolution_1.applyResolution(interfaceImplementations.interface, client, resolutionContext)]; | ||
return [4 /*yield*/, (0, applyResolution_1.applyResolution)(interfaceImplementations.interface, client, resolutionContext)]; | ||
case 2: | ||
@@ -91,3 +91,3 @@ redirectsResult = _e.sent(); | ||
}); | ||
return [2 /*return*/, result_1.ResultErr(error)]; | ||
return [2 /*return*/, (0, result_1.ResultErr)(error)]; | ||
} | ||
@@ -130,3 +130,3 @@ fullyResolvedUri = redirectsResult.value; | ||
return [7 /*endfinally*/]; | ||
case 9: return [2 /*return*/, result_1.ResultOk(undefined)]; | ||
case 9: return [2 /*return*/, (0, result_1.ResultOk)(undefined)]; | ||
} | ||
@@ -137,3 +137,3 @@ }); | ||
if (!client) return [3 /*break*/, 2]; | ||
return [4 /*yield*/, applyResolution_1.applyResolution(wrapperInterfaceUri, client, resolutionContext)]; | ||
return [4 /*yield*/, (0, applyResolution_1.applyResolution)(wrapperInterfaceUri, client, resolutionContext)]; | ||
case 1: | ||
@@ -147,3 +147,3 @@ redirectsResult = _a.sent(); | ||
}); | ||
return [2 /*return*/, result_1.ResultErr(error)]; | ||
return [2 /*return*/, (0, result_1.ResultErr)(error)]; | ||
} | ||
@@ -155,3 +155,3 @@ finalUri = redirectsResult.value; | ||
addAllImp = _a.sent(); | ||
return [2 /*return*/, addAllImp.ok ? result_1.ResultOk(result) : addAllImp]; | ||
return [2 /*return*/, addAllImp.ok ? (0, result_1.ResultOk)(result) : addAllImp]; | ||
} | ||
@@ -158,0 +158,0 @@ }); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -20,0 +20,0 @@ if (y = 0, t) op = [op[0] & 2, t.value]; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -22,3 +22,3 @@ import { WrapError, Uri, Wrapper } from "."; | ||
*/ | ||
export declare type InvokeResult<TData = unknown> = Result<TData, WrapError>; | ||
export type InvokeResult<TData = unknown> = Result<TData, WrapError>; | ||
/** | ||
@@ -63,3 +63,3 @@ * Provides options for the invoker to set based on the state of the invocation. | ||
*/ | ||
export declare type InvocableResult<TData = unknown> = InvokeResult<TData> & { | ||
export type InvocableResult<TData = unknown> = InvokeResult<TData> & { | ||
/** If true, result (if successful) contains a Msgpack-encoded byte array */ | ||
@@ -66,0 +66,0 @@ encoded?: boolean; |
/** Alias for a type that is either a value or a promise that resolves to the value */ | ||
export declare type MaybeAsync<T> = Promise<T> | T; | ||
export type MaybeAsync<T> = Promise<T> | T; |
@@ -101,3 +101,3 @@ "use strict"; | ||
if (!uri) { | ||
return result_1.ResultErr(Error("The provided URI is empty")); | ||
return (0, result_1.ResultErr)(Error("The provided URI is empty")); | ||
} | ||
@@ -117,21 +117,25 @@ var processed = uri; | ||
if (wrapSchemeIdx > -1 && wrapSchemeIdx !== 0) { | ||
return result_1.ResultErr(Error("The wrap:// scheme must be at the beginning of the URI string")); | ||
return (0, result_1.ResultErr)(Error("The wrap:// scheme must be at the beginning of the URI string")); | ||
} | ||
// Extract the authoriy & path | ||
var result = processed.match(/wrap:\/\/([a-z][a-z0-9-_]+)\/(.*)/); | ||
var uriParts; | ||
// Remove all empty strings | ||
if (result) { | ||
result = result.filter(function (str) { return !!str; }); | ||
uriParts = result.filter(function (str) { return !!str; }); | ||
} | ||
if (!result || result.length !== 3) { | ||
return result_1.ResultErr(Error("URI is malformed, here are some examples of valid URIs:\n" + | ||
else { | ||
uriParts = []; | ||
} | ||
if (uriParts.length !== 3) { | ||
return (0, result_1.ResultErr)(Error("URI is malformed, here are some examples of valid URIs:\n" + | ||
"wrap://ipfs/QmHASH\n" + | ||
"wrap://ens/domain.eth\n" + | ||
"ens/domain.eth\n\n" + | ||
("Invalid URI Received: " + uri))); | ||
"Invalid URI Received: ".concat(uri))); | ||
} | ||
return result_1.ResultOk({ | ||
return (0, result_1.ResultOk)({ | ||
uri: processed, | ||
authority: result[1], | ||
path: result[2], | ||
authority: uriParts[1], | ||
path: uriParts[2], | ||
}); | ||
@@ -156,3 +160,3 @@ }; | ||
else { | ||
throw Error("Unknown uri type, cannot convert. " + JSON.stringify(uri)); | ||
throw Error("Unknown uri type, cannot convert. ".concat(JSON.stringify(uri))); | ||
} | ||
@@ -159,0 +163,0 @@ }; |
import { CleanResolutionStep } from "../algorithms"; | ||
export declare type ErrorSource = Readonly<{ | ||
export type ErrorSource = Readonly<{ | ||
file?: string; | ||
@@ -66,2 +66,3 @@ row?: number; | ||
toString(): string; | ||
private static sanitizeUnwrappedRustResult; | ||
private static _parse; | ||
@@ -68,0 +69,0 @@ private static stringify; |
@@ -10,2 +10,4 @@ "use strict"; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -84,2 +86,3 @@ function __() { this.constructor = d; } | ||
WrapError.parse = function (error) { | ||
error = WrapError.sanitizeUnwrappedRustResult(error); | ||
var delim = "\n\nAnother exception was encountered during execution:\n"; | ||
@@ -107,4 +110,12 @@ var errorStrings = error.split(delim); | ||
WrapError.prototype.toString = function () { | ||
return this.name + ": " + this.message; | ||
return "".concat(this.name, ": ").concat(this.message); | ||
}; | ||
// remove escape characters that may have been added by Rust | ||
WrapError.sanitizeUnwrappedRustResult = function (error) { | ||
if (error.startsWith('__wrap_abort: called `Result::unwrap()` on an `Err` value: "')) { | ||
error = error.replace(/\\"/g, '"'); | ||
error = error.replace(/\\n/g, "\n"); | ||
} | ||
return error; | ||
}; | ||
// parse a single WrapError, where the 'prev' property is undefined | ||
@@ -143,24 +154,24 @@ WrapError._parse = function (error) { | ||
var code = options.code, uri = options.uri, method = options.method, args = options.args, source = options.source, resolutionStack = options.resolutionStack, cause = options.cause, innerError = options.innerError; | ||
var formattedCode = code + " " + WrapErrorCode[code].replace(/_/g, " "); | ||
var formattedCode = "".concat(code, " ").concat(WrapErrorCode[code].replace(/_/g, " ")); | ||
// Some items are not always present | ||
var maybeMethod = method ? "method: " + method : ""; | ||
var maybeArgs = args ? "args: " + args + " " : ""; | ||
var maybeMethod = method ? "method: ".concat(method) : ""; | ||
var maybeArgs = args ? "args: ".concat(args, " ") : ""; | ||
// source is uses () instead of {} to facilitate regex | ||
var maybeSource = source | ||
? "source: { file: \"" + (source === null || source === void 0 ? void 0 : source.file) + "\", row: " + (source === null || source === void 0 ? void 0 : source.row) + ", col: " + (source === null || source === void 0 ? void 0 : source.col) + " }" | ||
? "source: { file: \"".concat(source === null || source === void 0 ? void 0 : source.file, "\", row: ").concat(source === null || source === void 0 ? void 0 : source.row, ", col: ").concat(source === null || source === void 0 ? void 0 : source.col, " }") | ||
: ""; | ||
var maybeResolutionStack = resolutionStack | ||
? "uriResolutionStack: " + JSON.stringify(resolutionStack, null, 2) | ||
? "uriResolutionStack: ".concat(JSON.stringify(resolutionStack, null, 2)) | ||
: ""; | ||
var errorCause = WrapError.stringifyCause(cause); | ||
var maybeCause = errorCause | ||
? "\nThis exception was caused by the following exception:\n" + errorCause | ||
? "\nThis exception was caused by the following exception:\n".concat(errorCause) | ||
: ""; | ||
var maybeDelim = innerError | ||
? "\nAnother exception was encountered during execution:\n" + innerError | ||
? "\nAnother exception was encountered during execution:\n".concat(innerError) | ||
: ""; | ||
return [ | ||
"" + reason, | ||
"code: " + formattedCode, | ||
"uri: " + uri, | ||
"".concat(reason), | ||
"code: ".concat(formattedCode), | ||
"uri: ".concat(uri), | ||
maybeMethod, | ||
@@ -196,7 +207,7 @@ maybeArgs, | ||
else { | ||
return "" + cause; | ||
return "".concat(cause); | ||
} | ||
}; | ||
WrapError.re = new RegExp([ | ||
/^(?:[A-Za-z_: ]*; )?WrapError: (?<reason>(?:.|\r|\n)*)/.source, | ||
/^(?:[A-Za-z_:()` ]*;? "?)?WrapError: (?<reason>(?:.|\r|\n)*)/.source, | ||
// there is some padding added to the number of words expected in an error code | ||
@@ -213,4 +224,5 @@ /(?:\r\n|\r|\n)code: (?<code>1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]) (?:[A-Z]+ ?){1,5}/ | ||
.source, | ||
/(?:(?:\r\n|\r|\n){2}This exception was caused by the following exception:(?:\r\n|\r|\n)(?<cause>(?:.|\r|\n)+))?$/ | ||
/(?:(?:\r\n|\r|\n){2}This exception was caused by the following exception:(?:\r\n|\r|\n)(?<cause>(?:.|\r|\n)+))?/ | ||
.source, | ||
/"?$/.source, | ||
].join("")); | ||
@@ -217,0 +229,0 @@ return WrapError; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
import { Uri } from ".."; | ||
import { IUriPackage, IUriWrapper } from "../types"; | ||
/** Indicates that a URI resolved to a Uri */ | ||
export declare type UriValue = { | ||
export type UriValue = { | ||
type: "uri"; | ||
@@ -9,10 +9,10 @@ uri: Uri; | ||
/** Indicates that a URI resolved to a wrap package */ | ||
export declare type UriPackageValue = IUriPackage & { | ||
export type UriPackageValue = IUriPackage & { | ||
type: "package"; | ||
}; | ||
/** Indicates that a URI resolved to a wrapper */ | ||
export declare type UriWrapperValue = IUriWrapper & { | ||
export type UriWrapperValue = IUriWrapper & { | ||
type: "wrapper"; | ||
}; | ||
/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */ | ||
export declare type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue; | ||
export type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue; |
@@ -18,5 +18,10 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
@@ -63,3 +68,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
UriResolutionContext.prototype.getResolutionPath = function () { | ||
return __spread(this._resolutionPath).map(function (x) { return new types_1.Uri(x); }); | ||
return __spreadArray([], __read(this._resolutionPath), false).map(function (x) { return new types_1.Uri(x); }); | ||
}; | ||
@@ -66,0 +71,0 @@ UriResolutionContext.prototype.createSubHistoryContext = function () { |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@polywrap/core-js", | ||
"description": "Polywrap Javascript Core", | ||
"version": "0.10.0-pre.8", | ||
"version": "0.10.0-pre.10", | ||
"license": "MIT", | ||
@@ -26,5 +26,5 @@ "repository": { | ||
"dependencies": { | ||
"@polywrap/result": "0.10.0-pre.8", | ||
"@polywrap/tracing-js": "0.10.0-pre.8", | ||
"@polywrap/wrap-manifest-types-js": "0.10.0-pre.8" | ||
"@polywrap/result": "0.10.0-pre.10", | ||
"@polywrap/tracing-js": "0.10.0-pre.10", | ||
"@polywrap/wrap-manifest-types-js": "0.10.0-pre.10" | ||
}, | ||
@@ -40,4 +40,4 @@ "devDependencies": { | ||
"ts-jest": "26.5.4", | ||
"ts-node": "8.10.2", | ||
"typescript": "4.1.6" | ||
"ts-node": "10.9.1", | ||
"typescript": "4.9.5" | ||
}, | ||
@@ -44,0 +44,0 @@ "gitHead": "7346adaf5adb7e6bbb70d9247583e995650d390a", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
121482
1816
+ Added@polywrap/result@0.10.0-pre.10(transitive)
+ Added@polywrap/tracing-js@0.10.0-pre.10(transitive)
+ Added@polywrap/wrap-manifest-types-js@0.10.0-pre.10(transitive)
+ Addedsemver@7.3.8(transitive)
- Removed@polywrap/result@0.10.0-pre.8(transitive)
- Removed@polywrap/tracing-js@0.10.0-pre.8(transitive)
- Removed@polywrap/wrap-manifest-types-js@0.10.0-pre.8(transitive)
- Removedjson-schema-ref-parser@9.0.9(transitive)
- Removedsemver@7.3.5(transitive)