miro-export 1.3.1 → 1.3.2

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.
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - uses: actions/checkout@v6
12
- - uses: pnpm/action-setup@v4
12
+ - uses: pnpm/action-setup@v5
13
13
  with:
14
14
  version: 8
15
15
  - uses: actions/setup-node@v6
@@ -22,7 +22,7 @@ jobs:
22
22
  - name: Build
23
23
  run: pnpm run build
24
24
  - name: Upload Artifact
25
- uses: actions/upload-artifact@v6
25
+ uses: actions/upload-artifact@v7
26
26
  with:
27
27
  name: build
28
28
  path: build/
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - uses: actions/checkout@v6
12
- - uses: pnpm/action-setup@v4
12
+ - uses: pnpm/action-setup@v5
13
13
  with:
14
14
  version: 8
15
15
  - uses: actions/setup-node@v6
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-22.04
10
10
  steps:
11
11
  - uses: actions/checkout@v6
12
- - uses: pnpm/action-setup@v4
12
+ - uses: pnpm/action-setup@v5
13
13
  with:
14
14
  version: 8
15
15
  - uses: actions/setup-node@v6
package/build/index.js CHANGED
@@ -16,12 +16,12 @@ export class MiroBoard {
16
16
  await browser.browserContexts()[0].setCookie({
17
17
  name: "token",
18
18
  value: options.token,
19
- domain: "miro.com",
19
+ domain: ".miro.com",
20
20
  path: "/",
21
21
  expires: -1,
22
22
  sameParty: false,
23
- httpOnly: false,
24
- secure: false
23
+ httpOnly: true,
24
+ secure: true
25
25
  });
26
26
  }
27
27
  await page.setViewport({ width: 1080, height: 1024 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miro-export",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "author": "jolle <npm-contact@jolle.io>",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -53,12 +53,12 @@ export class MiroBoard {
53
53
  await browser.browserContexts()[0].setCookie({
54
54
  name: "token",
55
55
  value: options.token,
56
- domain: "miro.com",
56
+ domain: ".miro.com",
57
57
  path: "/",
58
58
  expires: -1,
59
59
  sameParty: false,
60
- httpOnly: false,
61
- secure: false
60
+ httpOnly: true,
61
+ secure: true
62
62
  });
63
63
  }
64
64