New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@0xcert/scaffold

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/scaffold - npm Package Compare versions

Comparing version 2.0.0-alpha5 to 2.0.0-alpha6

.nyc_output/72a6317b-67c4-41d2-9caa-cc7e181f433c.json

2

.nyc_output/processinfo/index.json

@@ -1,1 +0,1 @@

{"processes":{"a9fe129c-e678-4e29-afb4-481157b6469d":{"parent":null,"children":[]}},"files":{"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-scaffold/src/index.ts":["a9fe129c-e678-4e29-afb4-481157b6469d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-scaffold/src/core/provider.ts":["a9fe129c-e678-4e29-afb4-481157b6469d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-scaffold/src/core/asset-ledger.ts":["a9fe129c-e678-4e29-afb4-481157b6469d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-scaffold/src/core/mutation.ts":["a9fe129c-e678-4e29-afb4-481157b6469d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-scaffold/src/core/gateway.ts":["a9fe129c-e678-4e29-afb4-481157b6469d"]},"externalIds":{}}
{"processes":{"72a6317b-67c4-41d2-9caa-cc7e181f433c":{"parent":null,"children":[]}},"files":{"/Users/xpepermint/Downloads/framework-1-manage-abilities-proxy/packages/0xcert-scaffold/src/index.ts":["72a6317b-67c4-41d2-9caa-cc7e181f433c"],"/Users/xpepermint/Downloads/framework-1-manage-abilities-proxy/packages/0xcert-scaffold/src/core/provider.ts":["72a6317b-67c4-41d2-9caa-cc7e181f433c"],"/Users/xpepermint/Downloads/framework-1-manage-abilities-proxy/packages/0xcert-scaffold/src/core/asset-ledger.ts":["72a6317b-67c4-41d2-9caa-cc7e181f433c"],"/Users/xpepermint/Downloads/framework-1-manage-abilities-proxy/packages/0xcert-scaffold/src/core/mutation.ts":["72a6317b-67c4-41d2-9caa-cc7e181f433c"],"/Users/xpepermint/Downloads/framework-1-manage-abilities-proxy/packages/0xcert-scaffold/src/core/gateway.ts":["72a6317b-67c4-41d2-9caa-cc7e181f433c"]},"externalIds":{}}

@@ -5,4 +5,4 @@ {

{
"version": "2.0.0-alpha5",
"tag": "@0xcert/scaffold_v2.0.0-alpha5",
"version": "2.0.0-alpha6",
"tag": "@0xcert/scaffold_v2.0.0-alpha6",
"date": "Wed, 19 Jun 2019 10:31:05 GMT",

@@ -9,0 +9,0 @@ "comments": {}

@@ -5,3 +5,3 @@ # Change Log - @0xcert/scaffold

## 2.0.0-alpha5
## 2.0.0-alpha6
Wed, 19 Jun 2019 10:31:05 GMT

@@ -8,0 +8,0 @@

@@ -5,12 +5,13 @@ import { GatewayBase } from './gateway';

export declare enum GeneralAssetLedgerAbility {
CREATE_ASSET = 2,
REVOKE_ASSET = 4,
TOGGLE_TRANSFERS = 8,
UPDATE_ASSET = 16,
ALLOW_CREATE_ASSET = 32,
UPDATE_URI_BASE = 64,
ALLOW_UPDATE_ASSET_IMPRINT = 128
CREATE_ASSET = 16,
REVOKE_ASSET = 32,
TOGGLE_TRANSFERS = 64,
UPDATE_ASSET = 128,
UPDATE_URI_BASE = 256,
ALLOW_CREATE_ASSET = 512,
ALLOW_UPDATE_ASSET_IMPRINT = 1024
}
export declare enum SuperAssetLedgerAbility {
MANAGE_ABILITIES = 1
MANAGE_ABILITIES = 1,
ALLOW_MANAGE_ABILITIES = 2
}

@@ -17,0 +18,0 @@ export declare enum AssetLedgerCapability {

@@ -5,9 +5,9 @@ "use strict";

(function (GeneralAssetLedgerAbility) {
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["CREATE_ASSET"] = 2] = "CREATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["REVOKE_ASSET"] = 4] = "REVOKE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["TOGGLE_TRANSFERS"] = 8] = "TOGGLE_TRANSFERS";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["UPDATE_ASSET"] = 16] = "UPDATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["ALLOW_CREATE_ASSET"] = 32] = "ALLOW_CREATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["UPDATE_URI_BASE"] = 64] = "UPDATE_URI_BASE";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["ALLOW_UPDATE_ASSET_IMPRINT"] = 128] = "ALLOW_UPDATE_ASSET_IMPRINT";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["CREATE_ASSET"] = 16] = "CREATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["REVOKE_ASSET"] = 32] = "REVOKE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["TOGGLE_TRANSFERS"] = 64] = "TOGGLE_TRANSFERS";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["UPDATE_ASSET"] = 128] = "UPDATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["UPDATE_URI_BASE"] = 256] = "UPDATE_URI_BASE";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["ALLOW_CREATE_ASSET"] = 512] = "ALLOW_CREATE_ASSET";
GeneralAssetLedgerAbility[GeneralAssetLedgerAbility["ALLOW_UPDATE_ASSET_IMPRINT"] = 1024] = "ALLOW_UPDATE_ASSET_IMPRINT";
})(GeneralAssetLedgerAbility = exports.GeneralAssetLedgerAbility || (exports.GeneralAssetLedgerAbility = {}));

@@ -17,2 +17,3 @@ var SuperAssetLedgerAbility;

SuperAssetLedgerAbility[SuperAssetLedgerAbility["MANAGE_ABILITIES"] = 1] = "MANAGE_ABILITIES";
SuperAssetLedgerAbility[SuperAssetLedgerAbility["ALLOW_MANAGE_ABILITIES"] = 2] = "ALLOW_MANAGE_ABILITIES";
})(SuperAssetLedgerAbility = exports.SuperAssetLedgerAbility || (exports.SuperAssetLedgerAbility = {}));

@@ -19,0 +20,0 @@ var AssetLedgerCapability;

@@ -1,2 +0,2 @@

import { AssetLedgerCapability } from './asset-ledger';
import { AssetLedgerAbility, AssetLedgerCapability } from './asset-ledger';
import { MutationBase } from './mutation';

@@ -7,3 +7,4 @@ export declare enum ActionsOrderActionKind {

TRANSFER_VALUE = 3,
UPDATE_ASSET_IMPRINT = 4
UPDATE_ASSET_IMPRINT = 4,
SET_ABILITIES = 5
}

@@ -15,3 +16,9 @@ export interface GatewayBase {

}
export declare type ActionsOrderAction = ActionsOrderActionCreateAsset | ActionsOrderActionTransferAsset | ActionsOrderActionTransferValue | ActionsOrderActionUpdateAssetImprint;
export declare type ActionsOrderAction = ActionsOrderActionCreateAsset | ActionsOrderActionTransferAsset | ActionsOrderActionTransferValue | ActionsOrderActionUpdateAssetImprint | ActionsOrderActionSetAbilities;
export interface ActionsOrderActionSetAbilities {
kind: ActionsOrderActionKind.SET_ABILITIES;
ledgerId: string;
receiverId?: string;
abilities: AssetLedgerAbility[];
}
export interface ActionsOrderActionCreateAsset {

@@ -18,0 +25,0 @@ kind: ActionsOrderActionKind.CREATE_ASSET;

@@ -9,2 +9,3 @@ "use strict";

ActionsOrderActionKind[ActionsOrderActionKind["UPDATE_ASSET_IMPRINT"] = 4] = "UPDATE_ASSET_IMPRINT";
ActionsOrderActionKind[ActionsOrderActionKind["SET_ABILITIES"] = 5] = "SET_ABILITIES";
})(ActionsOrderActionKind = exports.ActionsOrderActionKind || (exports.ActionsOrderActionKind = {}));

@@ -11,0 +12,0 @@ var OrderKind;

{
"files": {
"packages/0xcert-scaffold/CHANGELOG.json": "acb1fada3ad464191b618057be512e64ac11eea7",
"packages/0xcert-scaffold/CHANGELOG.md": "22dabc75fab464dfd259d60026f08d2f5cd4842d",
"packages/0xcert-scaffold/README.md": "7bfbd2643bbb937d12c739e2a406f80a4a2651b6",
"packages/0xcert-scaffold/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de",
"packages/0xcert-scaffold/package.json": "f474d0e827f49f2b42314dc915489a3760e15998",
"packages/0xcert-scaffold/src/assets/metadata.ts": "f42e8c108ed586ffc13f1f0a6f3170e86fb69977",
"packages/0xcert-scaffold/src/core/asset-ledger.ts": "8d8126948902a34e429db4950ead028dc3950961",
"packages/0xcert-scaffold/src/core/gateway.ts": "d203b31726f2db130715866c5c42f66d243af5ee",
"packages/0xcert-scaffold/src/core/mutation.ts": "a10f292c0bb32ac05b729d098b254fec93537f42",
"packages/0xcert-scaffold/src/core/provider.ts": "94b32d34c321b6e8502ef5e052d75b978bb9f7e7",
"packages/0xcert-scaffold/src/core/value-ledger.ts": "0f424113dfe6a16a22b09f230d2b6febb466bf12",
"packages/0xcert-scaffold/src/index.ts": "bca32984b67edd5c57ee258b4a14ad04d6327b20",
"packages/0xcert-scaffold/src/tests/index.test.ts": "704984a6d673fabaf81d796043ee1eed922a2bb0",
"packages/0xcert-scaffold/tsconfig.json": "aaa461c172cf0c93d58ffeef8e3ead76fe299b2e",
"packages/0xcert-scaffold/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66",
"common/config/rush/npm-shrinkwrap.json": "61a980a58792c3190cc96ec3982261423bf45f2e"
},
"arguments": "npm run clean && npx tsc "
"files": {},
"arguments": "npm run lint && npx nyc npx hayspec test "
}
{
"name": "@0xcert/scaffold",
"version": "2.0.0-alpha5",
"version": "2.0.0-alpha6",
"description": "Overarching module with types, enums, and interfaces for easier development of interoperable modules.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -11,9 +11,9 @@ import { GatewayBase } from './gateway';

export enum GeneralAssetLedgerAbility {
CREATE_ASSET = 2,
REVOKE_ASSET = 4,
TOGGLE_TRANSFERS = 8,
UPDATE_ASSET = 16,
ALLOW_CREATE_ASSET = 32,
UPDATE_URI_BASE = 64,
ALLOW_UPDATE_ASSET_IMPRINT = 128,
CREATE_ASSET = 16,
REVOKE_ASSET = 32,
TOGGLE_TRANSFERS = 64,
UPDATE_ASSET = 128,
UPDATE_URI_BASE = 256,
ALLOW_CREATE_ASSET = 512,
ALLOW_UPDATE_ASSET_IMPRINT = 1024,
}

@@ -27,2 +27,3 @@

MANAGE_ABILITIES = 1,
ALLOW_MANAGE_ABILITIES = 2,
}

@@ -29,0 +30,0 @@

@@ -1,2 +0,2 @@

import { AssetLedgerCapability } from './asset-ledger';
import { AssetLedgerAbility, AssetLedgerCapability } from './asset-ledger';
import { MutationBase } from './mutation';

@@ -12,2 +12,3 @@

UPDATE_ASSET_IMPRINT = 4,
SET_ABILITIES = 5,
}

@@ -44,3 +45,3 @@

export type ActionsOrderAction = ActionsOrderActionCreateAsset | ActionsOrderActionTransferAsset
| ActionsOrderActionTransferValue | ActionsOrderActionUpdateAssetImprint;
| ActionsOrderActionTransferValue | ActionsOrderActionUpdateAssetImprint | ActionsOrderActionSetAbilities;

@@ -50,2 +51,28 @@ /**

*/
export interface ActionsOrderActionSetAbilities {
/**
* Type od order action.
*/
kind: ActionsOrderActionKind.SET_ABILITIES;
/**
* Id (address) of the smart contract that represents the assetLedger.
*/
ledgerId: string;
/**
* Id (address) of account we are setting abilitites to.
*/
receiverId?: string;
/**
* Abilities we want to set.
*/
abilities: AssetLedgerAbility[];
}
/**
* Order create asset data definitio.
*/
export interface ActionsOrderActionCreateAsset {

@@ -52,0 +79,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc