@tldraw/editor 3.9.0-canary.952d02721a3e → 3.9.0-canary.a499f75d803f

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.952d02721a3e";
1
+ const version = "3.9.0-canary.a499f75d803f";
2
2
  const publishDates = {
3
3
  major: "2024-09-13T14:36:29.063Z",
4
- minor: "2025-02-26T14:57:25.397Z",
5
- patch: "2025-02-26T14:57:25.397Z"
4
+ minor: "2025-03-03T05:57:43.081Z",
5
+ patch: "2025-03-03T05:57:43.081Z"
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.952d02721a3e'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-02-26T14:57:25.397Z',\n\tpatch: '2025-02-26T14:57:25.397Z',\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.a499f75d803f'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-03-03T05:57:43.081Z',\n\tpatch: '2025-03-03T05:57:43.081Z',\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.952d02721a3e",
4
+ "version": "3.9.0-canary.a499f75d803f",
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.952d02721a3e",
49
- "@tldraw/state-react": "3.9.0-canary.952d02721a3e",
50
- "@tldraw/store": "3.9.0-canary.952d02721a3e",
51
- "@tldraw/tlschema": "3.9.0-canary.952d02721a3e",
52
- "@tldraw/utils": "3.9.0-canary.952d02721a3e",
53
- "@tldraw/validate": "3.9.0-canary.952d02721a3e",
48
+ "@tldraw/state": "3.9.0-canary.a499f75d803f",
49
+ "@tldraw/state-react": "3.9.0-canary.a499f75d803f",
50
+ "@tldraw/store": "3.9.0-canary.a499f75d803f",
51
+ "@tldraw/tlschema": "3.9.0-canary.a499f75d803f",
52
+ "@tldraw/utils": "3.9.0-canary.a499f75d803f",
53
+ "@tldraw/validate": "3.9.0-canary.a499f75d803f",
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(
@@ -10256,7 +10256,7 @@ function withIsolatedShapes<T>(
10256
10256
  }
10257
10257
  })
10258
10258
 
10259
- editor.store.applyDiff(reverseRecordsDiff(changes))
10259
+ editor.store.applyDiff(reverseRecordsDiff(changes), { runCallbacks: false })
10260
10260
  },
10261
10261
  { history: 'ignore' }
10262
10262
  )
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.952d02721a3e'
4
+ export const version = '3.9.0-canary.a499f75d803f'
5
5
  export const publishDates = {
6
6
  major: '2024-09-13T14:36:29.063Z',
7
- minor: '2025-02-26T14:57:25.397Z',
8
- patch: '2025-02-26T14:57:25.397Z',
7
+ minor: '2025-03-03T05:57:43.081Z',
8
+ patch: '2025-03-03T05:57:43.081Z',
9
9
  }