@enactprotocol/shared 1.0.12 → 1.0.13

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.
@@ -15,7 +15,7 @@ export class EnactCore {
15
15
  this.options = {
16
16
  apiUrl: "https://enact.tools",
17
17
  supabaseUrl: "https://xjnhhxwxovjifdxdwzih.supabase.co",
18
- executionProvider: "direct",
18
+ executionProvider: "dagger",
19
19
  defaultTimeout: "30s",
20
20
  verificationPolicy: "permissive",
21
21
  ...options,
@@ -584,11 +584,11 @@ export class EnactCore {
584
584
  */
585
585
  createExecutionProvider() {
586
586
  switch (this.options.executionProvider) {
587
- case "dagger":
588
- return new DaggerExecutionProvider(this.options.daggerOptions);
589
587
  case "direct":
590
- default:
591
588
  return new DirectExecutionProvider();
589
+ case "dagger":
590
+ default:
591
+ return new DaggerExecutionProvider(this.options.daggerOptions);
592
592
  }
593
593
  }
594
594
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enactprotocol/shared",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Shared utilities and core functionality for Enact Protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -75,7 +75,7 @@ export class EnactCore {
75
75
  this.options = {
76
76
  apiUrl: "https://enact.tools",
77
77
  supabaseUrl: "https://xjnhhxwxovjifdxdwzih.supabase.co",
78
- executionProvider: "direct",
78
+ executionProvider: "dagger",
79
79
  defaultTimeout: "30s",
80
80
  verificationPolicy: "permissive",
81
81
  ...options,
@@ -805,11 +805,11 @@ export class EnactCore {
805
805
  | DirectExecutionProvider
806
806
  | DaggerExecutionProvider {
807
807
  switch (this.options.executionProvider) {
808
- case "dagger":
809
- return new DaggerExecutionProvider(this.options.daggerOptions);
810
808
  case "direct":
811
- default:
812
809
  return new DirectExecutionProvider();
810
+ case "dagger":
811
+ default:
812
+ return new DaggerExecutionProvider(this.options.daggerOptions);
813
813
  }
814
814
  }
815
815