@civic/gateway-client-core
Advanced tools
Comparing version 1.1.3-beta.1 to 1.1.3-beta.2
@@ -1,1 +0,1 @@ | ||
{"processes":{"20655237-5fea-4c9d-a6c8-89d47a0d9efb":{"parent":null,"children":[]},"4900e651-00ab-4d67-adf1-d6d780fdf508":{"parent":null,"children":[]}},"files":{"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/config.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/gatekeeperClient.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/url.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/index.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/local.logger.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/provider.logger.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/log.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/gatekeeperApi.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/chain.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/gatekeeperNetworkService.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/GatewayClientCore.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/orchestrate.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/listeners.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/civicPass.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/civicSign.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/fetch.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/gateway.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/inputs.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/remoteSign.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/errors.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/issuance.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/orchestratorFlow.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/defaults.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb","4900e651-00ab-4d67-adf1-d6d780fdf508"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/expiry.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/refresh.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/userInteraction.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/userInteraction.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/partnerReview.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/common.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/state.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/stateMapping.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/flow.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/flow.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/gatewayStatus.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/error.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/initialisation.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/issuance.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/partnerReview.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/refresh.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/flowParameters.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/object.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/version.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb","4900e651-00ab-4d67-adf1-d6d780fdf508"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/ui.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/ui.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/eventInterface.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/analytics.ts":["20655237-5fea-4c9d-a6c8-89d47a0d9efb"]},"externalIds":{}} | ||
{"processes":{"5b7e61a8-036f-4994-9f45-ef4238b95353":{"parent":null,"children":[]},"87a64b3a-9567-4258-b5cd-66fbbf7267d4":{"parent":null,"children":[]}},"files":{"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/defaults.ts":["5b7e61a8-036f-4994-9f45-ef4238b95353","87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/version.ts":["5b7e61a8-036f-4994-9f45-ef4238b95353","87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/config.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/gatekeeperClient.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/url.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/index.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/local.logger.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/logger/provider.logger.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/log.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/gatekeeperApi.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/chain.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/gatekeeperNetworkService.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/GatewayClientCore.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/orchestrate.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/listeners.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/civicPass.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/civicSign.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/fetch.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/gateway.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/inputs.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/remoteSign.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/errors.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/issuance.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/orchestratorFlow.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/expiry.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/refresh.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/userInteraction.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/userInteraction.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/partnerReview.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/common.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/state.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/stateMapping.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/flow.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/flow.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/gatewayStatus.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/error.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/initialisation.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/issuance.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/partnerReview.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/refresh.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/flowParameters.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/object.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/state/ui.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/ui.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/types/eventInterface.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"],"/Users/daneel/work/ociv-gatekeeper/packages/gateway-client-core/src/utils/analytics.ts":["87a64b3a-9567-4258-b5cd-66fbbf7267d4"]},"externalIds":{}} |
@@ -50,2 +50,3 @@ import { RequestInitRetryParams } from 'fetch-retry'; | ||
}; | ||
feeAmountUSDCents?: number; | ||
}; | ||
@@ -52,0 +53,0 @@ export type RequestTokenIssuanceResponse = GatekeeperRecordResponse & { |
@@ -40,2 +40,3 @@ import { GknData } from '../../src/gatekeeperNetworkService'; | ||
credentialExpired?: boolean; | ||
feeAmountUSDCents?: string; | ||
civicClient: string; | ||
@@ -42,0 +43,0 @@ stage?: string; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "@civic/gateway-client-core:1.1.3-alpha.1"; | ||
export declare const VERSION = "@civic/gateway-client-core:1.1.3-beta.1"; |
@@ -10,3 +10,3 @@ module.exports = { | ||
statements: 97, | ||
branches: 88, | ||
branches: 87.8, | ||
'skip-full': true, | ||
@@ -13,0 +13,0 @@ include: ['src/**'], |
{ | ||
"name": "@civic/gateway-client-core", | ||
"version": "1.1.3-beta.1", | ||
"version": "1.1.3-beta.2", | ||
"description": "Sample project for creating typescript library with support of iife and types.", | ||
@@ -69,3 +69,3 @@ "keywords": [], | ||
}, | ||
"gitHead": "1501ea4d93487ecb0cd6f3e8beab60bdf5767788" | ||
"gitHead": "d7147768d20bd94706401dde9adbe9b5546b8104" | ||
} |
@@ -37,2 +37,8 @@ import { FlowParameters, GatewayCoreState } from '../types/gatewayCore'; | ||
const feeFromGatekeeper = | ||
state.inputs.gatekeeperRecord?.received?.payload?.feeAmountUSDCents || | ||
state.inputs.gatekeeperRecord?.received?.feeAmountUSDCents; | ||
const feeAmountUSDCents = | ||
feeFromGatekeeper !== undefined ? state.output?.flowParameters?.feeAmountUSDCents : undefined; | ||
return { | ||
@@ -72,3 +78,4 @@ // computed | ||
credentialExpired: !!state.inputs.gatekeeperRecord?.received?.payload?.credentialExpired, // track this so we can set the correct flowType to make the iframe do a document rescan to "refresh" | ||
...(feeAmountUSDCents !== undefined ? { feeAmountUSDCents: feeAmountUSDCents as string } : {}), | ||
}; | ||
}; |
@@ -54,2 +54,3 @@ import { RequestInitRetryParams } from 'fetch-retry'; | ||
pending?: { presentationRequestId: string }; | ||
feeAmountUSDCents?: number; | ||
}; | ||
@@ -56,0 +57,0 @@ |
@@ -43,2 +43,3 @@ import { GknData } from '../../src/gatekeeperNetworkService'; | ||
credentialExpired?: boolean; | ||
feeAmountUSDCents?: string; | ||
// Set to params.xCivicClientHeader if passed in, otherwise this package's (core) version from package.json. | ||
@@ -45,0 +46,0 @@ civicClient: string; |
// This is an auto-generated file. Do not edit. | ||
export const VERSION = '@civic/gateway-client-core:1.1.3-beta.1'; | ||
export const VERSION = '@civic/gateway-client-core:1.1.3-beta.2'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4469596
26522