Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/eight-areas-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"io-wallet-messages-func": patch
"io-wallet-support-func": patch
"io-wallet-common": patch
"io-wallet-user-func": patch
---

Updated npm dependencies
4 changes: 2 additions & 2 deletions apps/io-wallet-messages-func/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"devDependencies": {
"@pagopa/eslint-config": "^5.1.2",
"eslint": "9.35.0",
"eslint": "^9.39.2",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
"vitest": "^4.0.18"
},
"dependencies": {
"@azure/functions": "catalog:",
Expand Down
4 changes: 2 additions & 2 deletions apps/io-wallet-support-func/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"devDependencies": {
"@pagopa/eslint-config": "^5.1.2",
"@vitest/coverage-v8": "^4.0.1",
"eslint": "9.35.0",
"eslint": "^9.39.2",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "5.9.3",
"vitest": "^3.2.4"
"vitest": "^4.0.18"
},
"main": "dist/main.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions apps/io-wallet-user-func/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"cbor2": "^2.2.1",
"dayjs": "^1.11.19",
"fp-ts": "catalog:",
"googleapis": "^144.0.0",
"googleapis": "^171.4.0",
"html-to-text": "9.0.5",
"io-ts": "catalog:",
"io-wallet-common": "workspace:^",
Expand All @@ -57,11 +57,11 @@
"@types/html-to-text": "9.0.4",
"@types/make-fetch-happen": "^10.0.4",
"@vitest/coverage-v8": "^4.0.1",
"eslint": "9.35.0",
"eslint": "^9.39.2",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "5.9.3",
"vitest": "^3.2.4"
"vitest": "^4.0.18"
},
"main": "dist/main.js",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export interface VerifyAssertionParams {
integrityAssertion: NonEmptyString;
}

export const playintegrity = google.playintegrity("v1");

export class ExternalServiceError extends Error {
name = "ExternalServiceError";
}
Expand Down Expand Up @@ -75,14 +73,18 @@ export const verifyAssertion = async (
}

// Then verify the integrity token
const jwtClient = new google.auth.JWT(
googleAppCredentials.client_email,
undefined,
googleAppCredentials.private_key,
[androidPlayIntegrityUrl],
);

google.options({ auth: jwtClient });
const jwtClient = new google.auth.JWT({
email: googleAppCredentials.client_email,
key: googleAppCredentials.private_key,
scopes: [androidPlayIntegrityUrl],
});

await jwtClient.authorize();

const playintegrity = google.playintegrity({
auth: jwtClient,
version: "v1",
});

let bundleIdentifier;
let tokenPayloadExternal;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"turbo": "^2.8.5"
"turbo": "^2.8.6"
},
"packageManager": "pnpm@10.18.0+sha512.e804f889f1cecc40d572db084eec3e4881739f8dec69c0ff10d2d1beff9a4e309383ba27b5b750059d7f4c149535b6cd0d2cb1ed3aeb739239a4284a68f40cfa"
}
2 changes: 1 addition & 1 deletion packages/io-wallet-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@pagopa/eslint-config": "^5.1.2",
"eslint": "9.35.0",
"eslint": "^9.39.2",
"prettier": "^3.8.1",
"typescript": "5.9.3",
"vitest": "^3.2.4"
Expand Down
Loading