@tldraw/editor 3.9.0-canary.d81de7fd0bea → 3.9.0-canary.ef20f7307209

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.
@@ -1,8 +1,8 @@
1
- const version = "3.9.0-canary.d81de7fd0bea";
1
+ const version = "3.9.0-canary.ef20f7307209";
2
2
  const publishDates = {
3
3
  major: "2024-09-13T14:36:29.063Z",
4
- minor: "2025-02-25T18:56:18.099Z",
5
- patch: "2025-02-25T18:56:18.099Z"
4
+ minor: "2025-02-27T14:57:10.316Z",
5
+ patch: "2025-02-27T14:57:10.316Z"
6
6
  };
7
7
  export {
8
8
  publishDates,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/version.ts"],
4
- "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '3.9.0-canary.d81de7fd0bea'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-02-25T18:56:18.099Z',\n\tpatch: '2025-02-25T18:56:18.099Z',\n}\n"],
4
+ "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '3.9.0-canary.ef20f7307209'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-02-27T14:57:10.316Z',\n\tpatch: '2025-02-27T14:57:10.316Z',\n}\n"],
5
5
  "mappings": "AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/editor",
3
3
  "description": "A tiny little drawing app (editor).",
4
- "version": "3.9.0-canary.d81de7fd0bea",
4
+ "version": "3.9.0-canary.ef20f7307209",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -45,12 +45,12 @@
45
45
  "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
46
46
  },
47
47
  "dependencies": {
48
- "@tldraw/state": "3.9.0-canary.d81de7fd0bea",
49
- "@tldraw/state-react": "3.9.0-canary.d81de7fd0bea",
50
- "@tldraw/store": "3.9.0-canary.d81de7fd0bea",
51
- "@tldraw/tlschema": "3.9.0-canary.d81de7fd0bea",
52
- "@tldraw/utils": "3.9.0-canary.d81de7fd0bea",
53
- "@tldraw/validate": "3.9.0-canary.d81de7fd0bea",
48
+ "@tldraw/state": "3.9.0-canary.ef20f7307209",
49
+ "@tldraw/state-react": "3.9.0-canary.ef20f7307209",
50
+ "@tldraw/store": "3.9.0-canary.ef20f7307209",
51
+ "@tldraw/tlschema": "3.9.0-canary.ef20f7307209",
52
+ "@tldraw/utils": "3.9.0-canary.ef20f7307209",
53
+ "@tldraw/validate": "3.9.0-canary.ef20f7307209",
54
54
  "@types/core-js": "^2.5.8",
55
55
  "@use-gesture/react": "^10.3.1",
56
56
  "classnames": "^2.5.1",
@@ -170,9 +170,11 @@ My browser: ${navigator.userAgent}`
170
170
  <p>
171
171
  If you keep seeing this screen, you can create a{' '}
172
172
  <a href={url.toString()}>GitHub issue</a> or ask for help on{' '}
173
- <a href="https://discord.gg/Cq6cPsTfNy">Discord</a>. If you are still stuck, you can
174
- reset the tldraw data on your machine. This may erase the project you were working on,
175
- so try to get help first.
173
+ <a href="https://discord.tldraw.com/?utm_source=sdk&utm_medium=organic&utm_campaign=error-screen">
174
+ Discord
175
+ </a>
176
+ . If you are still stuck, you can reset the tldraw data on your machine. This may
177
+ erase the project you were working on, so try to get help first.
176
178
  </p>
177
179
  {shouldShowError && (
178
180
  <>
@@ -4227,7 +4227,7 @@ export class Editor extends EventEmitter<TLEventMap> {
4227
4227
  this._shapeGeometryCaches[context] = this.store.createComputedCache(
4228
4228
  'bounds',
4229
4229
  (shape) => this.getShapeUtil(shape).getGeometry(shape, opts),
4230
- (a, b) => a.props === b.props
4230
+ { areRecordsEqual: (a, b) => a.props === b.props }
4231
4231
  )
4232
4232
  }
4233
4233
  return this._shapeGeometryCaches[context].get(
package/src/version.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  // This file is automatically generated by internal/scripts/refresh-assets.ts.
2
2
  // Do not edit manually. Or do, I'm a comment, not a cop.
3
3
 
4
- export const version = '3.9.0-canary.d81de7fd0bea'
4
+ export const version = '3.9.0-canary.ef20f7307209'
5
5
  export const publishDates = {
6
6
  major: '2024-09-13T14:36:29.063Z',
7
- minor: '2025-02-25T18:56:18.099Z',
8
- patch: '2025-02-25T18:56:18.099Z',
7
+ minor: '2025-02-27T14:57:10.316Z',
8
+ patch: '2025-02-27T14:57:10.316Z',
9
9
  }