You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@ocap/asset

Package Overview
Dependencies
Maintainers
3
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocap/asset - npm Package Compare versions

Comparing version

to
1.18.30

6

lib/index.d.ts

@@ -17,3 +17,3 @@ import type { LiteralUnion, PartialDeep } from 'type-fest';

type: LiteralUnion<'contract' | 'url', string>;
name: LiteralUnion<'mint' | 'postMint', string>;
name: LiteralUnion<'mint' | 'postMint' | 'preMint', string>;
hook: string;

@@ -34,3 +34,3 @@ };

export declare const isValidHook: (hook: THook, quota?: $TSFixMe, throwOnError?: boolean) => boolean;
export declare const isValidFactory: (props: $TSFixMe) => boolean;
export declare const isValidFactory: (props: any) => boolean;
/**

@@ -75,3 +75,3 @@ * Find credentialSubject path in the object

}) => TPreMintResult;
export declare const formatFactoryState: (state: $TSFixMe) => TPickedFactoryState;
export declare const formatFactoryState: (state: TAssetFactoryState) => TPickedFactoryState;
export {};

@@ -26,3 +26,3 @@ "use strict";

const debug = (0, debug_1.default)('@ocap/asset');
const SUPPORTED_HOOK_NAMES = ['mint', 'postMint'];
const SUPPORTED_HOOK_NAMES = ['preMint', 'mint', 'postMint'];
const SUPPORTED_HOOK_TYPES = ['contract', 'url'];

@@ -29,0 +29,0 @@ const isValidNotation = (notation) => ['ctx', 'data', 'input'].includes(notation.split('.').shift());

{
"name": "@ocap/asset",
"description": "Utility to work with asset and factory on ArcBlock blockchain",
"version": "1.18.28",
"version": "1.18.30",
"author": {

@@ -21,11 +21,11 @@ "name": "wangshijun",

"dependencies": {
"@arcblock/did": "1.18.28",
"@arcblock/did-util": "1.18.28",
"@arcblock/validator": "1.18.28",
"@arcblock/vc": "1.18.28",
"@ocap/contract": "1.18.28",
"@ocap/mcrypto": "1.18.28",
"@ocap/types": "1.18.28",
"@ocap/util": "1.18.28",
"@ocap/wallet": "1.18.28",
"@arcblock/did": "1.18.30",
"@arcblock/did-util": "1.18.30",
"@arcblock/validator": "1.18.30",
"@arcblock/vc": "1.18.30",
"@ocap/contract": "1.18.30",
"@ocap/mcrypto": "1.18.30",
"@ocap/types": "1.18.30",
"@ocap/util": "1.18.30",
"@ocap/wallet": "1.18.30",
"debug": "^4.3.4",

@@ -78,3 +78,3 @@ "flat": "^5.0.2",

},
"gitHead": "b3d8d50ccf3b876b07b8f3eaf09572329ea6af94"
"gitHead": "553b8b4151c97432b4c18ef0ef849cd65e2704cb"
}