Skip to content

Commit

Permalink
Merge pull request #71 from sicpa-dlab/bump-vtp-0.2
Browse files Browse the repository at this point in the history
Bump vtp 0.2
  • Loading branch information
dmitry-vychikov authored Oct 12, 2022
2 parents 1e50d9b + 0df38c3 commit b4d06c3
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@aries-framework/core": "npm:@sicpa-dlab/aries-framework-core",
"@aries-framework/node": "npm:@sicpa-dlab/aries-framework-node",
"@sicpa-dlab/value-transfer-protocol-ts": "0.1.7",
"@sicpa-dlab/value-transfer-protocol-ts": "0.2.1",
"@types/figlet": "^1.5.4",
"@types/inquirer": "^8.1.3",
"clear": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion emulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@aries-framework/core": "npm:@sicpa-dlab/aries-framework-core",
"@aries-framework/node": "npm:@sicpa-dlab/aries-framework-node",
"@sicpa-dlab/value-transfer-protocol-ts": "0.1.7",
"@sicpa-dlab/value-transfer-protocol-ts": "0.2.1",
"@stablelib/ed25519": "^1.0.3",
"@influxdata/influxdb-client": "^1.29.0"
},
Expand Down
8 changes: 5 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@sicpa-dlab/aries-framework-core",
"main": "build/index",
"types": "build/index",
"version": "0.2.5",
"version": "0.2.6",
"files": [
"build"
],
Expand All @@ -13,7 +13,7 @@
"homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/core",
"scripts": {
"build": "yarn run clean && yarn run compile",
"clean": "rimraf -rf ./build",
"clean": "npx rimraf -rf build node_modules",
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "yarn run build"
},
Expand All @@ -24,7 +24,9 @@
},
"dependencies": {
"@multiformats/base-x": "^4.0.1",
"@sicpa-dlab/value-transfer-protocol-ts": "0.1.7",
"@sicpa-dlab/value-transfer-common-ts": "0.2.2",
"@sicpa-dlab/value-transfer-protocol-ts": "0.2.2",
"@sicpa-dlab/witness-gossip-protocol-ts": "0.2.2",
"@stablelib/ed25519": "^1.0.2",
"@stablelib/sha256": "^1.0.1",
"@stablelib/uuid": "^1.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DIDCommV2MessageParams } from '../../../agent/didcomm'

import { GossipAttachment, WitnessGossipInfo, WitnessGossipInfoBody } from '@sicpa-dlab/value-transfer-protocol-ts'
import { GossipAttachment, WitnessGossipInfo, WitnessGossipInfoBody } from '@sicpa-dlab/witness-gossip-protocol-ts'
import { Type } from 'class-transformer'
import { IsOptional, IsString, ValidateNested } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DIDCommV2MessageParams } from '../../../agent/didcomm'

import { WitnessTable } from '@sicpa-dlab/value-transfer-protocol-ts'
import { WitnessTable } from '@sicpa-dlab/witness-gossip-protocol-ts'
import { Type } from 'class-transformer'
import { IsInstance, IsOptional, IsString, ValidateNested } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DIDCommV2MessageParams } from '../../../agent/didcomm'

import { WitnessTableQuery } from '@sicpa-dlab/value-transfer-protocol-ts'
import { WitnessTableQuery } from '@sicpa-dlab/witness-gossip-protocol-ts'
import { Type } from 'class-transformer'
import { IsInstance, IsString, ValidateNested } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { RecordTags, TagsBase } from '../../../storage/BaseRecord'

import { WitnessState } from '@sicpa-dlab/value-transfer-protocol-ts'
import { WitnessState } from '@sicpa-dlab/witness-gossip-protocol-ts'
import { Type } from 'class-transformer'

import { BaseRecord } from '../../../storage/BaseRecord'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Buffer } from '../../../utils'
import type { GossipCryptoInterface } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { GossipCryptoInterface } from '@sicpa-dlab/witness-gossip-protocol-ts'

import { injectable } from '../../../plugins'
import { DidService } from '../../dids/services/DidService'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { Logger } from '../../../logger'
import type { Logger as ValueTransferLogger, LogLevel } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { Logger as ValueTransferLogger, LogLevel } from '@sicpa-dlab/value-transfer-common-ts'

import { AgentConfig } from '../../../agent/AgentConfig'
import { injectable } from '../../../plugins'
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/modules/gossip/service/GossipService.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { InboundMessageContext } from '../../../agent/models/InboundMessageContext'
import type { ResumeValueTransferTransactionEvent, WitnessTableReceivedEvent } from '../../value-transfer'
import type { WitnessGossipMessage, WitnessTableQueryMessage } from '../messages'
import type { TransactionRecord } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { TransactionRecord } from '@sicpa-dlab/witness-gossip-protocol-ts'

import {
Gossip,
WitnessGossipInfo,
WitnessState,
WitnessDetails,
WitnessTableQuery,
} from '@sicpa-dlab/value-transfer-protocol-ts'
} from '@sicpa-dlab/witness-gossip-protocol-ts'

import { AgentConfig } from '../../../agent/AgentConfig'
import { EventEmitter } from '../../../agent/EventEmitter'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GossipStorageInterface, WitnessState } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { GossipStorageInterface, WitnessState } from '@sicpa-dlab/witness-gossip-protocol-ts'

import AsyncLock from 'async-lock'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GossipTransportInterface } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { GossipTransportInterface } from '@sicpa-dlab/witness-gossip-protocol-ts'

import { AgentConfig } from '../../../agent/AgentConfig'
import { MessageSender } from '../../../agent/MessageSender'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { BaseEvent } from '../../agent/Events'
import type { ValueTransferRecord } from './repository'
import type { TransactionState, WitnessData } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { TransactionState } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { WitnessData } from '@sicpa-dlab/witness-gossip-protocol-ts'

export enum ValueTransferEventTypes {
ValueTransferStateChanged = 'ValueTransferStateChanged',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { DIDCommV2MessageParams } from '../../../agent/didcomm'

import { Mint, transformUint8Array } from '@sicpa-dlab/value-transfer-protocol-ts'
import { transformUint8Array } from '@sicpa-dlab/value-transfer-common-ts'
import { Mint } from '@sicpa-dlab/value-transfer-protocol-ts'
import { Expose, Transform, Type } from 'class-transformer'
import { IsArray, IsObject, IsOptional, IsString, ValidateNested } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { Logger } from '../../../logger'
import type { Logger as ValueTransferLogger, LogLevel } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { Logger as ValueTransferLogger, LogLevel } from '@sicpa-dlab/value-transfer-common-ts'

import { AgentConfig } from '../../../agent/AgentConfig'
import { injectable } from '../../../plugins'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type { AutoAcceptProof } from './modules/proofs'
import type { MediatorDeliveryStrategy, MediatorPickupStrategy } from './modules/routing'
import type { Transports } from './modules/routing/types'
import type { AutoAcceptValueTransfer } from './modules/value-transfer/ValueTransferAutoAcceptType'
import type { GossipMetricsInterface, WitnessDetails } from '@sicpa-dlab/value-transfer-protocol-ts'
import type { GossipMetricsInterface, WitnessDetails } from '@sicpa-dlab/witness-gossip-protocol-ts'

export enum KeyDerivationMethod {
/** default value in indy-sdk. Will be used when no value is provided */
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@sicpa-dlab/aries-framework-node",
"main": "build/index",
"types": "build/index",
"version": "0.1.6",
"version": "0.2.6",
"files": [
"build",
"bin"
Expand All @@ -22,7 +22,7 @@
},
"scripts": {
"build": "yarn run clean && yarn run compile",
"clean": "rimraf -rf ./build",
"clean": "npx rimraf -rf build node_modules",
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "yarn run build",
"test": "jest"
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-did-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"build": "yarn run clean && yarn run compile",
"clean": "rimraf -rf ./build",
"clean": "npx rimraf -rf build node_modules",
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "yarn run build",
"test": "jest"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@sicpa-dlab/aries-framework-react-native",
"main": "build/index",
"types": "build/index",
"version": "0.1.9",
"version": "0.2.6",
"files": [
"build"
],
Expand All @@ -18,7 +18,7 @@
},
"scripts": {
"build": "yarn run clean && yarn run compile",
"clean": "rimraf -rf ./build",
"clean": "npx rimraf -rf build node_modules",
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "yarn run build",
"test": "jest"
Expand Down

0 comments on commit b4d06c3

Please sign in to comment.