@trinsic/okapi
Advanced tools
Comparing version 1.0.0-preview.25 to 1.0.0-preview.26
@@ -37,11 +37,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import * as native from "@trinsic/okapi-web"; | ||
import * as proto from "@trinsic/okapi-proto"; | ||
export * from "@trinsic/okapi-proto"; | ||
var native; | ||
var initalized = false; | ||
function initialize() { | ||
if (!initalized) { | ||
initalized = true; | ||
} | ||
return Promise.resolve(); | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
if (!!initalized) return [3 /*break*/, 2]; | ||
return [4 /*yield*/, import("@trinsic/okapi-web")]; | ||
case 1: | ||
native = _a.sent(); | ||
initalized = true; | ||
_a.label = 2; | ||
case 2: return [2 /*return*/]; | ||
} | ||
}); | ||
}); | ||
} | ||
@@ -48,0 +58,0 @@ var DIDKey = /** @class */ (function () { |
{ | ||
"name": "@trinsic/okapi", | ||
"version": "1.0.0-preview.25", | ||
"version": "1.0.0-preview.26", | ||
"description": "", | ||
@@ -22,5 +22,5 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@trinsic/okapi-node": "^1.0.0-preview.25", | ||
"@trinsic/okapi-proto": "^1.0.0-preview.25", | ||
"@trinsic/okapi-web": "^1.0.0-preview.25", | ||
"@trinsic/okapi-node": "^1.0.0-preview.26", | ||
"@trinsic/okapi-proto": "^1.0.0-preview.26", | ||
"@trinsic/okapi-web": "^1.0.0-preview.26", | ||
"google-protobuf": "^3.14.0-rc.3" | ||
@@ -47,3 +47,3 @@ }, | ||
}, | ||
"gitHead": "ab07c340533889dcc2cba64d03d162e370be10ca" | ||
"gitHead": "34e97cbcfaac8d46bccf503d7c8ec90b4c5ef29d" | ||
} |
Sorry, the diff of this file is not supported yet
28360
263