From 042d0b292ae26d3ed6823efd786fe2c1b4a8f4c6 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Tue, 25 Jun 2024 20:48:52 +0530 Subject: [PATCH] refactor: update VUE_CONTAINER_KEY to not use a symbol --- lib/vue.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vue.ts b/lib/vue.ts index 1e8f1b8..1877be0 100644 --- a/lib/vue.ts +++ b/lib/vue.ts @@ -1,7 +1,7 @@ import { Plugin, inject } from "vue" import { Container, ServiceClassInstance } from "./container" -const VUE_CONTAINER_KEY = Symbol() +const VUE_CONTAINER_KEY = "__dioc:vue" // TODO: Some Vue version issue with plugin generics is breaking type checking /** diff --git a/package.json b/package.json index 2acb97e..dcc4657 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dioc", - "version": "3.0.1", + "version": "3.0.2", "type": "module", "license": "MIT", "description": "A 'too simple' and opinionated dependency injection library",