web3bio-profile-kit 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/platform.cjs +2 -15
- package/dist/types/platform.d.ts +2 -15
- package/dist/types/platform.js +2 -15
- package/dist/utils/helpers.cjs +45 -45
- package/dist/utils/helpers.js +46 -46
- package/dist/utils/ipfs.cjs +19 -11
- package/dist/utils/ipfs.js +19 -11
- package/dist/utils/network.cjs +22 -20
- package/dist/utils/network.js +22 -20
- package/dist/utils/platform.cjs +20 -145
- package/dist/utils/platform.js +20 -145
- package/dist/utils/resolver.cjs +3 -2
- package/dist/utils/resolver.js +3 -2
- package/dist/utils/source.cjs +1 -1
- package/dist/utils/source.js +1 -1
- package/package.json +1 -1
package/dist/utils/source.js
CHANGED
|
@@ -266,6 +266,6 @@ const SOURCE_DATA = {
|
|
|
266
266
|
* @returns Source metadata including name and description
|
|
267
267
|
* @public
|
|
268
268
|
*/
|
|
269
|
-
const getSource = (sourceKey) => SOURCE_DATA[sourceKey]
|
|
269
|
+
const getSource = (sourceKey) => { var _a; return (_a = SOURCE_DATA[sourceKey]) !== null && _a !== void 0 ? _a : { name: sourceKey, description: "Unknown source" }; };
|
|
270
270
|
|
|
271
271
|
export { SOURCE_DATA, getSource };
|