Skip to content

Commit

Permalink
chore(release): release 3.1.0 (hyperledger#124)
Browse files Browse the repository at this point in the history
# [3.1.0](v3.0.0...v3.1.0) (2023-11-13)

### Bug Fixes

* CI pipeline issues. ([hyperledger#121](hyperledger#121)) ([28b5a8f](28b5a8f))

### Features

* extending Agent.acceptInvitation to handle OOB + Prism ([hyperledger#111](hyperledger#111)) ([ce8326b](ce8326b))

Signed-off-by: Francisco Javier Ribó Labrador <elribonazo@gmail.com>
  • Loading branch information
amagyar-iohk authored and elribonazo committed May 2, 2024
1 parent 235a33e commit c10d707
Show file tree
Hide file tree
Showing 10 changed files with 136 additions and 372 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [3.1.0](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/compare/v3.0.0...v3.1.0) (2023-11-13)


### Bug Fixes

* CI pipeline issues. ([#121](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/issues/121)) ([28b5a8f](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/commit/28b5a8f4492f4972ff4848e8a2d35f333872bfeb))


### Features

* extending Agent.acceptInvitation to handle OOB + Prism ([#111](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/issues/111)) ([ce8326b](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/commit/ce8326b0cf9c0b9090b4e5df88f6e37601bbcc95))

# [3.0.0](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/compare/v2.5.0...v3.0.0) (2023-11-07)


Expand Down
2 changes: 1 addition & 1 deletion integration-tests/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"homepage": "https://github.com/amagyar-iohk/atala-prism-wallet-sdk-ts-e2e#readme",
"dependencies": {
"@atala/prism-wallet-sdk": "^3.1.0",
"@cucumber/cucumber": "^9.6.0",
"@input-output-hk/atala-prism-wallet-sdk": "^3.0.0",
"@hyperledger-labs/open-enterprise-agent-ts-client": "^1.18.0",
"@serenity-js/assertions": "^3.13.0",
"@serenity-js/console-reporter": "^3.13.0",
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/e2e-tests/tests/sdk/WalletSdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
Domain, ListenerKey,
Mercury,
PublicMediatorStore
} from "@input-output-hk/atala-prism-wallet-sdk"
import {Message} from "@input-output-hk/atala-prism-wallet-sdk/build/typings/domain"
} from "@atala/prism-wallet-sdk"
import {Message} from "@atala/prism-wallet-sdk/build/typings/domain"
import axios from "axios"
import {PlutoInMemory} from "./src/PlutoInMemory"
import {CloudAgentConfiguration} from "./configuration/CloudAgentConfiguration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class CloudAgentConfiguration {
}

private static getSdkVersion(): string {
const file = "node_modules/@input-output-hk/atala-prism-wallet-sdk/package.json"
const file = "node_modules/@atala/prism-wallet-sdk/package.json"
const json = JSON.parse(fs.readFileSync(file).toString())
return json.version
}
Expand Down Expand Up @@ -108,7 +108,7 @@ export class CloudAgentConfiguration {
}

/**
* Checks if the environment SCHEMA_ID variable exists in prism-agent, otherwise it creates a new one.
* Checks if the environment JWT_SCHEMA_GUID variable exists in prism-agent, otherwise it creates a new one.
*/
static async prepareJwtSchema() {
try {
Expand Down Expand Up @@ -154,14 +154,17 @@ export class CloudAgentConfiguration {
this.jwtSchemaGuid = schemaResponse.data.guid
}

/**
* Checks if the environment ANONCRED_DEFINITION_GUID variable exists in prism-agent, otherwise it creates a new one.
*/
static async prepareAnoncredDefinition() {
try {
await axiosInstance.get(
`credential-definition-registry/definitions/${this.anoncredDefinitionGuid}`
)
return
} catch (err) {
Utils.appendToNotes(`Credential definition not found. Creating a new one.`)
Utils.appendToNotes("Credential definition not found. Creating a new one.")
}

const schema = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IssueCredential, OfferCredential, RequestPresentation,} from "@input-output-hk/atala-prism-wallet-sdk"
import {IssueCredential, OfferCredential, RequestPresentation,} from "@atala/prism-wallet-sdk"
import {Actor, Duration, Notepad, Wait} from "@serenity-js/core"
import {equals} from "@serenity-js/assertions"
import {WalletSdk} from "../WalletSdk"
Expand Down
Loading

0 comments on commit c10d707

Please sign in to comment.