Skip to content

Commit

Permalink
Merge pull request #560 from airgap-it/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AndreasGassmann authored Aug 25, 2023
2 parents d61ce94 + 45c7b99 commit 2ed6daa
Show file tree
Hide file tree
Showing 25 changed files with 235 additions and 279 deletions.
3 changes: 2 additions & 1 deletion examples/dapp-v3-sapling.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@
document.getElementById('signPayloadMicheline').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
signingType: beacon.SigningType.MICHELINE,
payload: '05test'
payload:
'05010000004254657a6f73205369676e6564204d6573736167653a206d79646170702e636f6d20323032312d30312d31345431353a31363a30345a2048656c6c6f20776f726c6421'
})

console.log('signature:', signature)
Expand Down
3 changes: 2 additions & 1 deletion examples/dapp-v3.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@
document.getElementById('signPayloadMicheline').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
signingType: beacon.SigningType.MICHELINE,
payload: '05test'
payload:
'05010000004254657a6f73205369676e6564204d6573736167653a206d79646170702e636f6d20323032312d30312d31345431353a31363a30345a2048656c6c6f20776f726c6421'
})

console.log('signature:', signature)
Expand Down
17 changes: 16 additions & 1 deletion examples/dapp.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,20 @@
el.setAttribute('style', 'background-color: red')
document.getElementById('logger-output').appendChild(el)
}

time(start, label) {
const el = document.createElement('div')
el.innerText = `'time' ${start} ${label}`
el.setAttribute('style', 'background-color: grey')
document.getElementById('logger-output').appendChild(el)
}

timeLog(method, ...args) {
const el = document.createElement('div')
el.innerText = `'timeLog' ${method} ${args.join(', ')}`
el.setAttribute('style', 'background-color: grey')
document.getElementById('logger-output').appendChild(el)
}
}

const x = new MyLogger()
Expand Down Expand Up @@ -377,7 +391,8 @@
document.getElementById('signPayloadMicheline').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
signingType: beacon.SigningType.MICHELINE,
payload: '05test'
payload:
'05010000004254657a6f73205369676e6564204d6573736167653a206d79646170702e636f6d20323032312d30312d31345431353a31363a30345a2048656c6c6f20776f726c6421'
})

console.log('signature:', signature)
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"useWorkspaces": true,
"version": "4.0.7"
"version": "4.0.8"
}
178 changes: 89 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2ed6daa

Please sign in to comment.