cobrowse-sdk-js 2.33.0 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.34.0](#) (2024-05-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * integrate universal proxy ([#118](#)) ([ce77225](#))
11
+ * support active and focus pseudo selectors ([#134](#)) ([3af3a99](#))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * close universal proxy on session end ([#132](#)) ([25f2504](#))
17
+ * **iframe:** Allow child iframe to be seen when parent iframe is a child iframe itself ([#138](#)) ([f4f2b89](#))
18
+ * prevent agent from interacting with consent dialog ([#129](#)) ([0acc835](#))
19
+ * resolve proxy url against api url ([#133](#)) ([4aecff7](#))
20
+
5
21
  ## [2.33.0](#) (2024-04-03)
6
22
 
7
23
 
package/Dockerfile ADDED
@@ -0,0 +1,22 @@
1
+
2
+ ARG COBROWSEIO_GITHUB_TOKEN=""
3
+ ARG npm_config_ignore_scripts="false"
4
+
5
+ FROM node:20-alpine as deps
6
+ RUN apk add --update --no-cache wget git python3 make g++ pkgconfig pixman-dev cairo-dev pango-dev
7
+ WORKDIR /usr/src
8
+ COPY package.json package-lock.json .npmrc ./
9
+ RUN --mount=type=secret,id=cobrowseio_github_token \
10
+ COBROWSEIO_GITHUB_TOKEN=$(cat /run/secrets/cobrowseio_github_token) \
11
+ npm install
12
+
13
+ FROM node:20-alpine as dev
14
+ ENV NODE_ENV=development
15
+ ENV STAGE=development
16
+ RUN apk add --no-cache ca-certificates && update-ca-certificates
17
+ RUN mkdir -p /usr/src && chown node /usr/src
18
+ VOLUME /usr/src/app
19
+ COPY --from=deps --chown=node /usr/src/node_modules /usr/src/node_modules
20
+ USER node
21
+ WORKDIR /usr/src/app
22
+ CMD ["npm", "start"]