Skip to content

Commit

Permalink
feat!: Commit public API breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria committed Dec 5, 2024
1 parent defbc12 commit 8ee6181
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions api/Confidence_public_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
},
{
"name": "asyncFetch()",
"declaration": "public func asyncFetch()"
"declaration": "public func asyncFetch() async"
},
{
"name": "isStorageEmpty()",
"declaration": "public func isStorageEmpty() -> Bool"
},
{
"name": "getEvaluation(key:defaultValue:)",
Expand All @@ -23,44 +27,44 @@
"declaration": "public func getValue<T>(key: String, defaultValue: T) -> T"
},
{
"name": "contextChanges()",
"declaration": "public func contextChanges() -> AnyPublisher<ConfidenceStruct, Never>"
"name": "getContext()",
"declaration": "public func getContext() -> ConfidenceStruct"
},
{
"name": "track(eventName:data:)",
"declaration": "public func track(eventName: String, data: ConfidenceStruct) throws"
"name": "putContext(key:value:)",
"declaration": "public func putContext(key: String, value: ConfidenceValue) async"
},
{
"name": "track(producer:)",
"declaration": "public func track(producer: ConfidenceProducer)"
"name": "putContext(context:removedKeys:)",
"declaration": "public func putContext(context: ConfidenceStruct, removedKeys: [String] = []) async"
},
{
"name": "flush()",
"declaration": "public func flush()"
"name": "putContext(context:)",
"declaration": "public func putContext(context: ConfidenceStruct) async"
},
{
"name": "getContext()",
"declaration": "public func getContext() -> ConfidenceStruct"
"name": "putContextLocal(context:removeKeys:)",
"declaration": "public func putContextLocal(context: ConfidenceStruct, removeKeys removedKeys: [String] = [])"
},
{
"name": "putContext(key:value:)",
"declaration": "public func putContext(key: String, value: ConfidenceValue)"
"name": "removeContext(key:)",
"declaration": "public func removeContext(key: String) async"
},
{
"name": "putContext(context:)",
"declaration": "public func putContext(context: ConfidenceStruct)"
"name": "withContext(_:)",
"declaration": "public func withContext(_ context: ConfidenceStruct) -> ConfidenceEventSender"
},
{
"name": "putContext(context:removeKeys:)",
"declaration": "public func putContext(context: ConfidenceStruct, removeKeys removedKeys: [String] = [])"
"name": "track(producer:)",
"declaration": "public func track(producer: ConfidenceProducer)"
},
{
"name": "removeContext(key:)",
"declaration": "public func removeContext(key: String)"
"name": "track(eventName:data:)",
"declaration": "public func track(eventName: String, data: ConfidenceStruct) throws"
},
{
"name": "withContext(_:)",
"declaration": "public func withContext(_ context: ConfidenceStruct) -> ConfidenceEventSender"
"name": "flush()",
"declaration": "public func flush()"
}
]
},
Expand Down Expand Up @@ -245,4 +249,4 @@
}
]
}
]
]

0 comments on commit 8ee6181

Please sign in to comment.