@ozkarjs/fhir
Advanced tools
Comparing version 0.0.21 to 0.0.23
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = 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(exports, "__esModule", { value: true }); | ||
exports.Verification = exports.Query = exports.MINA_OPS = exports.MerkleMapFactory = exports.IPLD_LINEARIZATION = exports.IPLD = exports.Backend = void 0; | ||
const IPLD = require("./linearisation/ipld.js"); | ||
exports.IPLD = IPLD; | ||
const merkle_map_factory_js_1 = require("./merkleization/merkle-map-factory.js"); | ||
const mina_backend_js_1 = require("./mina-backend.js"); | ||
Object.defineProperty(exports, "Backend", { enumerable: true, get: function () { return mina_backend_js_1.Backend; } }); | ||
Object.defineProperty(exports, "IPLD_LINEARIZATION", { enumerable: true, get: function () { return mina_backend_js_1.IPLD_LINEARIZATION; } }); | ||
Object.defineProperty(exports, "MINA_OPS", { enumerable: true, get: function () { return mina_backend_js_1.MINA_OPS; } }); | ||
Object.defineProperty(exports, "Verification", { enumerable: true, get: function () { return mina_backend_js_1.Verification; } }); | ||
const query_js_1 = require("./query.js"); | ||
Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return query_js_1.Query; } }); | ||
class MerkleMapFactory extends merkle_map_factory_js_1.MerkleMapFactory { | ||
constructor() { | ||
super(mina_backend_js_1.MINA_OPS, mina_backend_js_1.IPLD_LINEARIZATION); | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./lib/utils/index.js"), exports); | ||
// export * from "./lib/proving/mina.js"; | ||
static fromLinearModel(linearModel) { | ||
const factory = new MerkleMapFactory(); | ||
return factory.fromLinearModel(linearModel); | ||
} | ||
} | ||
exports.MerkleMapFactory = MerkleMapFactory; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,15 @@ | ||
export * from "./lib/utils/index.js"; | ||
// export * from "./lib/proving/mina.js"; | ||
import * as IPLD from "./linearisation/ipld.js"; | ||
import { MerkleMapFactory as MapFactory } from "./merkleization/merkle-map-factory.js"; | ||
import { Backend, IPLD_LINEARIZATION, MINA_OPS, Verification, } from "./mina-backend.js"; | ||
import { Query } from "./query.js"; | ||
class MerkleMapFactory extends MapFactory { | ||
constructor() { | ||
super(MINA_OPS, IPLD_LINEARIZATION); | ||
} | ||
static fromLinearModel(linearModel) { | ||
const factory = new MerkleMapFactory(); | ||
return factory.fromLinearModel(linearModel); | ||
} | ||
} | ||
export { Backend, IPLD, IPLD_LINEARIZATION, MerkleMapFactory, MINA_OPS, Query, Verification, }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ozkarjs/fhir", | ||
"version": "0.0.21", | ||
"version": "0.0.23", | ||
"repository": "git@github.com:jasonkuhrt/template-typescript-lib.git", | ||
@@ -64,3 +64,12 @@ "author": "Jason Kuhrt", | ||
"typescript": "5.1.3", | ||
"vitest": "0.32.2" | ||
"vitest": "0.32.2", | ||
"@iden3/js-crypto": "^1.0.3", | ||
"hkt-toolbelt": "^0.22.2", | ||
"multiformats": "^13.0.0", | ||
"uvu": "^0.5.6" | ||
}, | ||
@@ -72,4 +81,5 @@ "dependencies": { | ||
"o1js": "^0.15.3", | ||
"ts-essentials": "^9.4.1" | ||
"ts-essentials": "^9.4.1", | ||
"uvu": "^0.5.6" | ||
} | ||
} |
@@ -1,6 +0,6 @@ | ||
import { expect, test } from "vitest"; | ||
import * as Lib from "./index.js"; | ||
import { expect, test } from 'vitest' | ||
import * as Lib from './index.js' | ||
test(`imports using paths config works relative`, () => { | ||
// expect(Lib.todo()).toEqual(`nothing`); | ||
}); | ||
expect(Lib.todo()).toEqual(`nothing`) | ||
}) |
@@ -1,2 +0,33 @@ | ||
export * from "./lib/utils/index.js"; | ||
// export * from "./lib/proving/mina.js"; | ||
import type { LinearModel } from "./linearisation/ipld.js"; | ||
import * as IPLD from "./linearisation/ipld.js"; | ||
import type { MerkleMap } from "./merkleization/merkle-map.js"; | ||
import { MerkleMapFactory as MapFactory } from "./merkleization/merkle-map-factory.js"; | ||
import { | ||
Backend, | ||
IPLD_LINEARIZATION, | ||
MINA_OPS, | ||
Verification, | ||
} from "./mina-backend.js"; | ||
import { Query } from "./query.js"; | ||
import type { Field } from "o1js"; | ||
class MerkleMapFactory extends MapFactory<Field> { | ||
constructor() { | ||
super(MINA_OPS, IPLD_LINEARIZATION); | ||
} | ||
static fromLinearModel(linearModel: LinearModel): MerkleMap<Field> { | ||
const factory = new MerkleMapFactory(); | ||
return factory.fromLinearModel(linearModel); | ||
} | ||
} | ||
export { | ||
Backend, | ||
IPLD, | ||
IPLD_LINEARIZATION, | ||
MerkleMapFactory, | ||
MINA_OPS, | ||
Query, | ||
Verification, | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
251984
100
4377
6
25
3
1
+ Addeduvu@^0.5.6
+ Addeddequal@2.0.3(transitive)
+ Addeddiff@5.2.0(transitive)
+ Addedkleur@4.1.5(transitive)
+ Addedmri@1.2.0(transitive)
+ Addedsade@1.8.1(transitive)
+ Addeduvu@0.5.6(transitive)