Skip to content

Commit 2eb6d3f

Browse files
committed
bump gist-web
1 parent 3c1f9b6 commit 2eb6d3f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@lukeed/uuid": "^2.0.0",
5353
"@segment/analytics.js-video-plugins": "^0.2.1",
5454
"@segment/facade": "^3.4.9",
55-
"customerio-gist-web": "3.20.1",
55+
"customerio-gist-web": "3.20.2",
5656
"dset": "^3.1.2",
5757
"js-cookie": "3.0.1",
5858
"node-fetch": "^2.6.7",

packages/browser/src/plugins/in-app-plugin/__tests__/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ describe('Customer.io In-App Plugin', () => {
2525
Gist.setCustomAttribute = jest.fn()
2626
Gist.clearCustomAttributes = jest.fn()
2727
Gist.events = {
28-
on: (name: string, cb: Function) => {
28+
on: jest.fn((name: string, cb: Function) => {
2929
if (name === 'messageShown') {
3030
gistMessageShown = cb
3131
} else if (name === 'messageAction') {
3232
gistMessageAction = cb
3333
} else if (name === 'eventDispatched') {
3434
gistEventDispatched = cb
3535
}
36-
},
36+
}),
3737
off: jest.fn(),
3838
dispatch: jest.fn(),
39-
}
39+
} as unknown as typeof Gist.events
4040

4141
const options: CustomerioSettings = { apiKey: 'foo' }
4242
analytics = new Analytics({ writeKey: options.apiKey })

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ __metadata:
777777
aws-sdk: ^2.814.0
778778
circular-dependency-plugin: ^5.2.2
779779
compression-webpack-plugin: ^8.0.1
780-
customerio-gist-web: 3.20.1
780+
customerio-gist-web: 3.20.2
781781
dset: ^3.1.2
782782
execa: ^4.1.0
783783
flat: ^5.0.2
@@ -5632,12 +5632,12 @@ __metadata:
56325632
languageName: node
56335633
linkType: hard
56345634

5635-
"customerio-gist-web@npm:3.20.1":
5636-
version: 3.20.1
5637-
resolution: "customerio-gist-web@npm:3.20.1"
5635+
"customerio-gist-web@npm:3.20.2":
5636+
version: 3.20.2
5637+
resolution: "customerio-gist-web@npm:3.20.2"
56385638
dependencies:
56395639
uuid: ^8.3.2
5640-
checksum: 7333077abb676e5cb13f153b6d089a2dad0ff101aa31dbee4a8ca51dcc3a88c97775777ce48eff725e105f181021137858c12b7f55b29a30d3cd65434c46d695
5640+
checksum: e87f9a419258f72a3f93b03c4d588c940162790b0c5a32b35901f098e12924d424cdd9305e83055989065c628f4c9b27eedad3564ea986d98f2080c522c91cd5
56415641
languageName: node
56425642
linkType: hard
56435643

0 commit comments

Comments
 (0)