Skip to content

Commit 96a275d

Browse files
author
Mukul Mehta
authored
[HOTFIX] Bump dwindle version to 0.0.24 for screenshot fix (#281)
#281 * Bump dwindle version to 0.0.24 for screenshot fix * Add changeset
1 parent 8d11d68 commit 96a275d

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

.changeset/gorgeous-ants-walk.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'mexit': patch
3+
'mexit-webapp': patch
4+
---
5+
6+
Dwindle bump version; Screenshot action works now

apps/extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@tippyjs/react": "^4.2.6",
1919
"@vespaiach/axios-fetch-adapter": "^0.1.1",
2020
"@webcomponents/custom-elements": "1.5.0",
21-
"@workduck-io/dwindle": "^0.0.23",
21+
"@workduck-io/dwindle": "^0.0.24",
2222
"@workduck-io/mex-components": "^0.0.17",
2323
"@workduck-io/tinykeys": "^1.5.0",
2424
"chrome-extension-async": "^3.4.1",

apps/webapp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@sentry/react": "^6.17.4",
2727
"@sentry/tracing": "^6.17.4",
2828
"@tippyjs/react": "^4.2.6",
29-
"@workduck-io/dwindle": "^0.0.23",
29+
"@workduck-io/dwindle": "^0.0.24",
3030
"@workduck-io/flexsearch": "^0.7.22",
3131
"@workduck-io/mex-components": "^0.0.17",
3232
"@workduck-io/tinykeys": "^1.5.0",

apps/webapp/src/Components/Chotu.tsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,13 @@ export default function Chotu() {
8888
return
8989
},
9090
uploadImageToS3Dwindle(base64string: string) {
91-
return new Promise((resolve) => {
92-
resolve(uploadImageToS3(base64string, { giveCloudFrontURL: true }))
91+
return new Promise<string>((resolve, reject) => {
92+
try {
93+
const val = uploadImageToS3(base64string, { giveCloudFrontURL: true, parseBase64String: true })
94+
resolve(val)
95+
} catch (error) {
96+
reject(error)
97+
}
9398
})
9499
}
95100
}

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -5882,10 +5882,10 @@
58825882
resolved "https://registry.yarnpkg.com/@webcomponents/custom-elements/-/custom-elements-1.5.0.tgz#7d07ff4979312dda167cc0a2b7586e76dc1cf6ab"
58835883
integrity sha512-c+7jPQCs9h/BYVcZ2Kna/3tsl3A/9EyXfvWjp5RiTDm1OpTcbZaCa1z4RNcTe/hUtXaqn64JjNW1yrWT+rZ8gg==
58845884

5885-
"@workduck-io/dwindle@^0.0.23":
5886-
version "0.0.23"
5887-
resolved "https://npm.pkg.github.com/download/@workduck-io/dwindle/0.0.23/86ec8b63ccece0b318aefa0786690ffa59fd7b2f#86ec8b63ccece0b318aefa0786690ffa59fd7b2f"
5888-
integrity sha512-oJiFB4xUK6Fhj4OnPgdoKEZVZJ9TOsUEdaFbvYGyCqDLZzYx2ZupyNR67eO87nNUxrzHJN8ajKFqFGS+ZLImcQ==
5885+
"@workduck-io/dwindle@^0.0.24":
5886+
version "0.0.24"
5887+
resolved "https://npm.pkg.github.com/download/@workduck-io/dwindle/0.0.24/81337aad4265efff359d74fa1bb76a703143997b#81337aad4265efff359d74fa1bb76a703143997b"
5888+
integrity sha512-3RigfTnSetrYapFcGyyJQmb3VOF1UcuSh+il6qNB44gVCpKhqkOzGvwS3RxEasJI6w0wtQ/95DahgfH/7V2wjQ==
58895889
dependencies:
58905890
"@aws-sdk/client-cognito-identity" "^3.17.0"
58915891
"@aws-sdk/client-s3" "^3.17.0"

0 commit comments

Comments
 (0)