key-did-resolver
Advanced tools
Comparing version 1.3.2-rc.5 to 1.4.0-rc.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.4.0-rc.0](https://github.com/ceramicnetwork/js-ceramic/compare/key-did-resolver@1.3.2-rc.5...key-did-resolver@1.4.0-rc.0) (2021-08-24) | ||
### Features | ||
* named exports ([884a6d8](https://github.com/ceramicnetwork/js-ceramic/commit/884a6d8e490f1c2c99ed99a17e9fd8c3dfb132d2)) | ||
## [1.3.2-rc.5](https://github.com/ceramicnetwork/js-ceramic/compare/key-did-resolver@1.3.2-rc.4...key-did-resolver@1.3.2-rc.5) (2021-08-23) | ||
@@ -8,0 +19,0 @@ |
import type { ResolverRegistry } from 'did-resolver'; | ||
export declare function getResolver(): ResolverRegistry; | ||
declare const _default: { | ||
getResolver: () => ResolverRegistry; | ||
getResolver: typeof getResolver; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -25,2 +25,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getResolver = void 0; | ||
const varint_1 = __importDefault(require("varint")); | ||
@@ -36,4 +37,4 @@ const multibase_1 = __importDefault(require("multibase")); | ||
}; | ||
exports.default = { | ||
getResolver: () => ({ | ||
function getResolver() { | ||
return { | ||
key: async (did, parsed, r, options) => { | ||
@@ -69,4 +70,6 @@ const contentType = options.accept || DID_JSON; | ||
}, | ||
}), | ||
}; | ||
}; | ||
} | ||
exports.getResolver = getResolver; | ||
exports.default = { getResolver }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "key-did-resolver", | ||
"version": "1.3.2-rc.5", | ||
"version": "1.4.0-rc.0", | ||
"description": "Ceramic did:key method resolver", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0c7a67ec46a6fbde03891f390e72f196de790c77" | ||
"gitHead": "a986441b3fd2e3e6fd2fdfe5f397c80bc9aad6fa" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21315
183