File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,11 @@ class DurableObjectId: public jsg::Object {
6666 return id->getJurisdiction ();
6767 }
6868
69- JSG_RESOURCE_TYPE (DurableObjectId, CompatibilityFlags::Reader flags ) {
69+ JSG_RESOURCE_TYPE (DurableObjectId) {
7070 JSG_METHOD (toString);
7171 JSG_METHOD (equals);
7272 JSG_READONLY_INSTANCE_PROPERTY (name, getName);
73- if (flags.getWorkerdExperimental ()) {
74- // `jurisdiction` is marked as experimental because it will be undefined when called on the
75- // `DurableObjectId` stored within a Durable Object class as `this.ctx.id`.
76- //
77- // TODO(soon): Ensure that `jurisdiction` is always available on a `DurableObjectId`.
78- JSG_READONLY_INSTANCE_PROPERTY (jurisdiction, getJurisdiction);
79- }
73+ JSG_READONLY_INSTANCE_PROPERTY (jurisdiction, getJurisdiction);
8074 }
8175
8276 void visitForMemoryInfo (jsg::MemoryTracker& tracker) const {
You can’t perform that action at this time.
0 commit comments