Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit 8e540a5

Browse files
jongbongaPiDelport
authored andcommitted
chnage decryptedMessage to executionToken
1 parent 0e526a7 commit 8e540a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/AccessForm.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default defineComponent({
8484
};
8585
},
8686
computed: {
87-
...mapState(["ourSecretKey", "decryptedMessage"]),
87+
...mapState(["ourSecretKey", "executionToken"]),
8888
...mapGetters(["enclavePublicKey"])
8989
},
9090
methods: {
@@ -119,7 +119,7 @@ export default defineComponent({
119119
}
120120
},
121121
watch: {
122-
decryptedMessage(newState: string | null) {
122+
executionToken(newState: string | null) {
123123
if (newState) {
124124
this.handleMsgDisplay(newState);
125125
}

src/store/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface State {
1919
ourSecretKey: Base64 | null;
2020
attestationResult: AttestationToken | null;
2121
uploadResult: { accessKey: string; uuid: Uint8Array } | null;
22-
decryptedMessage: string | null;
22+
executionToken: Uint8Array | null;
2323
}
2424

2525
// TODO: add typescript typings for Vuex
@@ -31,7 +31,7 @@ export default createStore<State>({
3131
ourSecretKey: null,
3232
attestationResult: null,
3333
uploadResult: null,
34-
decryptedMessage: null
34+
executionToken: null
3535
},
3636
getters: {
3737
enclavePublicKey(state) {
@@ -59,7 +59,7 @@ export default createStore<State>({
5959
state.uploadResult = uploadResult;
6060
},
6161
setDecryptedMsg(state, msg) {
62-
state.decryptedMessage = msg;
62+
state.executionToken = msg;
6363
}
6464
},
6565
actions: {

0 commit comments

Comments
 (0)